Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSVclSVG > RSSVG > Classes > TSVGGraphicElement > Properties

TSVGGraphicElement.Width Property

Scroll Prev Top Next More

Width of the element in the current user coordinate system

The X, Y, Width, and Height properties specify coordinates in virtual pixels of the nearest viewbox, or coordinate system. For example, a TSVGDocument may specify a ViewBox of 0, 0, 100, 100. Specifying an element's X and Y as 50, 50 will always position the element to start in the exact center of the view box. If the TSVGDocument is then drawn to a true pixel rectangle of 1000 pixel width and 500 pixel height, the element would draw at 500, 250 pixels.

noteNote

Note that this property is before any transformation (i.e., RSSVG.TSVGGraphicElement.Matrix property) is applied

Namespace: RSSVG

Property Value

Type: Single

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb