Skip to main content
Table of Contents

TTMSFNCImage.AspectRatio Property

When True, keeps the bitmap's original width-to-height ratio while drawing.

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

Syntax

FMX.TMSFNCImage.hppPascalC++
property AspectRatio: Boolean;
__property bool AspectRatio = {read=FAspectRatio, write=SetAspectRatio, default=1};

Default: True