DioDocs for PDF
MeasureSvg メソッド

DS.Documents.Imaging アセンブリ > GrapeCity.Documents.Drawing 名前空間 > GcGraphics クラス : MeasureSvg メソッド
The SVG document to measure.
The coordinates for the top-left corner of SVG viewport.
Calculates the content bounds of a specified SVG document when its viewport is drawn at a specified point.
シンタックス
'宣言
 
Public Function MeasureSvg( _
   ByVal svgDocument As GcSvgDocument, _
   ByVal viewportPosition As System.Drawing.PointF _
) As System.Drawing.RectangleF
public System.Drawing.RectangleF MeasureSvg( 
   GcSvgDocument svgDocument,
   System.Drawing.PointF viewportPosition
)

パラメータ

svgDocument
The SVG document to measure.
viewportPosition
The coordinates for the top-left corner of SVG viewport.

戻り値の型

The content bounds of the resulting image.
参照

GcGraphics クラス
GcGraphics メンバ