Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSVclSVG > RSSVGTypes > Classes

TSVGStylePropertyLength Class

Scroll Prev Top Next More

Extends the RSSVGTypes.TSVGLength class for style properties which may be inherited. The current length is stored in the current class. However, the Value property will change depending on if the length is inherited and its parent (returned via the RSSVGTypes.TSVGStylePropertyLength.OnGetParent event). The RSSVGTypes.TSVGStylePropertyLength.ParentValue property determines if the length should be inherited or not. If the length is inherited, the Value property uses the GetParent method (which calls the OnGetParent event) to return the inherited value.

The RSSVGTypes.TSVGStylePropertyLength.StyleProperty property returns which style property this length is representing.

The RSSVGTypes.TSVGStylePropertyLength.OnGetInherited and RSSVGTypes.TSVGStylePropertyLength.OnSetInherited events allow the length class to communicate when the ParentValue property is changed.

Namespace: RSSVGTypes

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb