Measure(RectangleF) Method
Calculates the content bounds of an SVG document, resizing the SVG viewport to fit into a specified rectangle.
public System.Drawing.RectangleF Measure(
System.Drawing.RectangleF
)
'Declaration
Public Overloads Function Measure( _
ByVal As System.Drawing.RectangleF _
) As System.Drawing.RectangleF
Parameters
- viewportRect
- The target rectangle for the SVG viewport.
Return Value
The content bounds of the resulting image.