Navigation: Code Documentation > RSFMXSVG > FMX.RS.SVG > Classes > TSVGGraphicElement > Methods
TSVGGraphicElement.GetWidth Method
Returns the Width of the Element.
If the Width property is a percentage, this method returns the Width for the Element by calculating the percentage of the nearest ViewBox's Width
Namespace: FMX.RS.SVG
Delphi
protected function GetWidth: Single; virtual;
Return Value
Type: Single
•FMX.RS.SVG.TSVGGraphicElement.X
•FMX.RS.SVG.TSVGGraphicElement.Y
•FMX.RS.SVG.TSVGGraphicElement.Height
•FMX.RS.SVG.TSVGGraphicElement.GetX
•FMX.RS.SVG.TSVGGraphicElement.GetY
•FMX.RS.SVG.TSVGGraphicElement.GetHeight
•GetNearestViewBox
•TSVGGraphicElement
•FMX.RS.SVG