DioDocs for PDF
DrawSvg(GcSvgDocument,RectangleF,Single) メソッド

GrapeCity.Documents.Imaging アセンブリ > GrapeCity.Documents.Drawing 名前空間 > GcGraphics クラス > DrawSvg メソッド : DrawSvg(GcSvgDocument,RectangleF,Single) メソッド
The SVG document to draw.
The target rectangle for the SVG viewport.
The opacity factor to be applied to the SVG content.
Draws a specified SVG document, resizing its viewport to fit into a specified rectangle.

To draw just the content of the SVG ignoring viewport position, see DrawSvgContent(GcSvgDocument,RectangleF,Single).

シンタックス
'宣言
 
Public Overloads Sub DrawSvg( _
   ByVal svgDocument As GcSvgDocument, _
   ByVal viewportRect As System.Drawing.RectangleF, _
   Optional ByVal opacity As System.Single _
) 
public void DrawSvg( 
   GcSvgDocument svgDocument,
   System.Drawing.RectangleF viewportRect,
   System.float opacity
)

パラメータ

svgDocument
The SVG document to draw.
viewportRect
The target rectangle for the SVG viewport.
opacity
The opacity factor to be applied to the SVG content.
参照

GcGraphics クラス
GcGraphics メンバ
オーバーロード一覧