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