Document Solutions for PDF
DS.Documents.Imaging Assembly / GrapeCity.Documents.Svg Namespace / GcSvgDocument Class / Measure Method / Measure(PointF,Single) Method
The coordinates for the top-left corner of the SVG viewport.
The graphics resolution (pixels per inch).

In This Topic
    Measure(PointF,Single) Method
    In This Topic
    Calculates the content bounds of an SVG document when its viewport is drawn at a specified point.
    Syntax
    'Declaration
     
    Public Overloads Function Measure( _
       ByVal viewportPosition As System.Drawing.PointF, _
       Optional ByVal graphicsResolution As System.Single _
    ) As System.Drawing.RectangleF
    public System.Drawing.RectangleF Measure( 
       System.Drawing.PointF viewportPosition,
       System.float graphicsResolution
    )

    Parameters

    viewportPosition
    The coordinates for the top-left corner of the SVG viewport.
    graphicsResolution
    The graphics resolution (pixels per inch).

    Return Value

    The content bounds of the resulting image.
    See Also