Skip to main content
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

FMX.TMSFNCImage.hppPascalC++
function GetPaintRectangle: TRectF;
System::Types::TRectF __fastcall GetPaintRectangle();

Returns

The calculated bitmap paint rectangle in control coordinates.