Navigation: Code Documentation > RSFMXSVG > FMX.RS.SVGTypes > Classes > TSVGLength > Properties
TSVGLength.AsUnit[TSVGUnit] Property
Reads and writes the current length using the specified unit. Setting this property will convert the length to the new unit and the Raw value will be changed.
Namespace: FMX.RS.SVGTypes
Delphi
public property AsUnit[Index: TSVGUnit]: Single read GetAsUnit write SetAsUnit;
Parameters
Index
Type: TSVGUnit
Type: Single
•FMX.RS.SVGTypes.TSVGLength.Raw
•FMX.RS.SVGTypes.TSVGLength.aUnit
•FMX.RS.SVGTypes.TSVGLength.Value
•TSVGLength
•FMX.RS.SVGTypes