Navigation: Code Documentation > RSVclSVG > RSSVGTypes > 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: RSSVGTypes
Delphi
public property AsUnit[Index: TSVGUnit]: Single read GetAsUnit write SetAsUnit;
Parameters
Index
Type: TSVGUnit
Type: Single
•RSSVGTypes.TSVGLength.Raw
•RSSVGTypes.TSVGLength.aUnit
•RSSVGTypes.TSVGLength.Value
•TSVGLength
•RSSVGTypes