Document Solutions for PDF
DS.Documents.Imaging Assembly / GrapeCity.Documents.Svg Namespace / GcSvgDocument Class / Measure Method / Measure(RectangleF) Method
The target rectangle for the SVG viewport.

In This Topic
    Measure(RectangleF) Method
    In This Topic
    Calculates the content bounds of an SVG document, resizing the SVG viewport to fit into a specified rectangle.
    Syntax
    'Declaration
     
    Public Overloads Function Measure( _
       ByVal viewportRect As System.Drawing.RectangleF _
    ) As System.Drawing.RectangleF
    public System.Drawing.RectangleF Measure( 
       System.Drawing.RectangleF viewportRect
    )

    Parameters

    viewportRect
    The target rectangle for the SVG viewport.

    Return Value

    The content bounds of the resulting image.
    See Also