Navigation: Code Documentation > RSFMXSVG > FMX.RS.SVG > Classes > TSVGCustomViewBox > Properties
TSVGCustomViewBox.AspectRatio Property
Defines how the viewport stretches graphics to fill the viewport.
Namespace: FMX.RS.SVG
Delphi
public property AspectRatio: TSVGPreserveAspectRatio read FAspectRatio write SetAspectRatio;
Property Value
Type: TSVGPreserveAspectRatio
•FMX.RS.SVG.TSVGCustomViewBox.ViewBox
•ViewBoxSpecified
•FMX.RS.SVGTypes.TSVGPreserveAspectRatio
•TSVGCustomViewBox
•FMX.RS.SVG