[]
Calculates the content bounds of a specified SVG document when its viewport is drawn at a specified point.
public RectangleF MeasureSvg(GcSvgDocument svgDocument, PointF viewportPosition)
Public Function MeasureSvg(svgDocument As GcSvgDocument, viewportPosition As PointF) As RectangleF
Type | Name | Description |
---|---|---|
GcSvgDocument | svgDocument | The SVG document to measure. |
PointF | viewportPosition | The coordinates for the top-left corner of SVG viewport. |
Type | Description |
---|---|
RectangleF | The content bounds of the resulting image. |