Table of Contents

TTMSFNCImage.GetPaintRectangle Method

Returns the rectangle used to paint the bitmap after margins, centering, stretching, and aspect-ratio rules are applied.

API unit family: TMSFNCImage Declaring type: TTMSFNCImage Inherited from: TTMSFNCCustomImage

Syntax

function GetPaintRectangle: TRectF;

Returns

The calculated bitmap paint rectangle in control coordinates.