FMX.Objects.TImage.MarginWrapMode
Delphi
property MarginWrapMode: TImageWrapMode read FMarginWrapMode write SetMarginWrapMode default TImageWrapMode.Stretch;
C++
__property TImageWrapMode MarginWrapMode = {read=FMarginWrapMode, write=SetMarginWrapMode, default=2};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | FMX.Objects.pas FMX.Objects.hpp |
FMX.Objects | TImage |
Description
Specifies how the margins of the Bitmap are resized, replicated, and positioned.
Use MarginWrapMode property to set and get how the margins of the Bitmap are displayed within the TImage. By default the margins are stretched to fill the entire TImage. To see the possible values of MarginWrapMode, go to TImageWrapMode.
If BitmapMargins property is not set, then MarginWrapMode has no effect over the image.