Hide Comments
Hide Comments

TSVGElement.GetNearestViewBox Method

Comments (0)

Returns the nearest ancestor (Parent, or Parent of Parent, or etc) element that is a TSVGCustomViewBox element

Namespace: RSSVG

expandingSyntax

Delphi

public
  function GetNearestViewBox: TSVGCustomViewBox; virtual;
 

Return Value

Type: TSVGCustomViewBox

expandingRemarks

The nearest viewbox provides the context rectangle for percentage values. For example, if the Width was 0.5 (50%), the width of this element would be 50% of the width of the nearest viewbox.

expandingSee Also

Reference

Comments (0)

RiverSoftAVG SVG Component Library (RSCL) © 2013-2015, Thomas G. Grubb