Skip to main content
Table of Contents

TTMSFNCCloudImage.AspectRatio Property

When True, preserves the image's original width-to-height ratio while fitting it into the control.

API unit family: TMSFNCCloudImage Declaring type: TTMSFNCCloudImage Inherited from: TTMSFNCCustomCloudImage Type: Boolean

Syntax

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

Default: True

Remarks

Defaults to True. Combine with Stretch and Cropping to control how the image fills the control area.