DioDocs for PDF
GcSvgGraphics クラス メンバ
プロパティ  メソッド 

DS.Documents.Imaging アセンブリ > GrapeCity.Documents.Svg 名前空間 : GcSvgGraphics クラス

GcSvgGraphicsデータ型で公開されるメンバを以下の表に示します。

パブリック コンストラクタ
 名前解説
Public コンストラクタInitializes a new instance of the GcSvgGraphics class.  
トップ
パブリック プロパティ
 名前解説
Public プロパティGets or sets the current blend mode. GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public プロパティGets or sets the description of the SVG document.  
Public プロパティGets a value indicating whether this instance of GrapeCity.Documents.Drawing.GcGraphics has been disposed and cannot be used anymore. GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public プロパティGets or sets a value indicating if strings and GrapeCity.Documents.Text.TextLayout objects are rendered using the graphic primitives instead of the specialized text drawing services. GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public プロパティGets or sets a value indicating whether fonts used in 'text' elements should be embedded.

Changing this property only affects subsequent calls to GrapeCity.Documents.Drawing.GcGraphics.DrawTextLayout, GrapeCity.Documents.Drawing.GcGraphics.DrawString and GrapeCity.Documents.Drawing.GcGraphics.DrawString methods. Already rendered text is not affected.

This property is ignored if GrapeCity.Documents.Drawing.GcGraphics.DrawTextAsPath is true.

The default is false.

 
Public プロパティオーバーライドされます。 For internal use.  
Public プロパティGets or sets a GrapeCity.Documents.Text.FontCollection used by MeasureString and DrawString methods. GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public プロパティGets or sets the height of the image, in device-independent pixels (1/96ths of an inch).  
Public プロパティGets or sets a string to be appended to the auto-generated ID values.  
Public プロパティオーバーライドされます。 For internal use.  
Public プロパティGets or sets a hint to the implementation about how to make speed vs. quality tradeoffs as it performs image processing.

Setting this property affects the subsequent calls of the DrawImage methods. It does not affect the previous calls.

The default is SvgImageRendering.Auto.  
Public プロパティGets or sets the sampling mode to use when drawing images with resizing. GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public プロパティGets a value indicating whether the current instance is fully licensed.  
Public プロパティGets or sets a value indicating whether the images drawn with DrawImage methods should be disposed when disposing the resulting GcSvgDocument.

Setting this property affects the subsequent calls of the DrawImage methods. It does not affect the previous calls.

The default is false.  
Public プロパティGets or sets a value indicating whether the positions are set for each individual character within the 'text' element.

Setting this property to true makes the resulting SVG file larger but provides more precise positioning of individual characters.

Changing this property only affects subsequent calls to GrapeCity.Documents.Drawing.GcGraphics.DrawTextLayout, GrapeCity.Documents.Drawing.GcGraphics.DrawString and GrapeCity.Documents.Drawing.GcGraphics.DrawString methods. Already rendered text is not affected.

This property is ignored if GrapeCity.Documents.Drawing.GcGraphics.DrawTextAsPath is true.

The default is false.

 
Public プロパティオーバーライドされます。 Gets the resolution of the current graphics, which is always 96 DPI for GcSvgGraphics.  
Public プロパティGets or sets a hint to the implementation about what tradeoffs to make as it renders vector graphics elements.

Setting this property affects the subsequent calls of the Draw/Fill methods. It does not affect the previous calls.

The default is SvgShapeRendering.Auto.  
Public プロパティGets the resolution of the underlying drawing surface (pixels per inch). GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public プロパティGets or sets the title of the SVG document.  
Public プロパティオーバーライドされます。 Gets or sets the transformation matrix of the current graphics.  
Public プロパティGets or sets the width of the image, in device-independent pixels (1/96ths of an inch).  
トップ
パブリック メソッド
 名前解説
Public メソッドApplies a license key to the current instance of GcSvgGraphics.

A license key is required to use the ToSvgDocument method.

 
Public メソッドFor internal use. GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドFor internal use. Composites this GrapeCity.Documents.Drawing.GcGraphics and the GrapeCity.Documents.Drawing.IGcTransparencyGroup created with the CreateTransparencyGroup method. GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドオーバーロードされます。 Creates a clip region from a graphics path.

Use PushClip(IClipRegion) and PopClip to set/remove clipping.

GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドオーバーロードされます。 For internal use only. GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドCreates a graphics path. GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドCreates GrapeCity.Documents.Drawing.IPath object representing round border. GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドCreates an instance of GrapeCity.Documents.Text.TextLayout with the same resolution as that of the current graphics.

This is the recommended way to create a TextLayout to use with a graphics.

GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドFor internal use. Creates a GrapeCity.Documents.Drawing.IGcTransparencyGroup compatible with this graphics. This group can be used later for: 1) Compose with graphics using the Composite method 2) Create a transparency mask from this group using the CreateTransparencyMask method Note! If the transparency group supports System.IDisposable interface it will be automatically disposed after usage. GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドFor internal use. Creates a transparency mask from a GrapeCity.Documents.Drawing.IGcTransparencyGroup, this mask can be specified for this graphics using SetTransparencyMask method. Note! If the transparency mask supports System.IDisposable interface it will be automatically disposed after usage. GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドオーバーロードされます。 For internal use only. GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドDisposes the current graphics. GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドオーバーロードされます。 Draws an ellipse using a specified line color, width and style.

If the value of lineStyle parameter is not GrapeCity.Documents.Drawing.DashStyle.Solid, the ellipse is drawn with a GrapeCity.Documents.Drawing.Pen having GrapeCity.Documents.Drawing.Pen.LineCap set to GrapeCity.Documents.Drawing.PenLineCap.Square instead of GrapeCity.Documents.Drawing.PenLineCap.Flat.

GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドオーバーロードされます。 オーバーライドされます。 For internal use only.  
Public メソッドオーバーロードされます。 Draws an image using specified bounds, clipping and image alignment. GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドオーバーロードされます。 Draws a line between two points, using a specified line color, width and style.

If the value of lineStyle parameter is not GrapeCity.Documents.Drawing.DashStyle.Solid, the line is drawn with a GrapeCity.Documents.Drawing.Pen having GrapeCity.Documents.Drawing.Pen.LineCap set to GrapeCity.Documents.Drawing.PenLineCap.Square instead of GrapeCity.Documents.Drawing.PenLineCap.Flat.

GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドオーバーロードされます。 Draws a series of connected lines, using a specified line color, width and style.

If the value of lineStyle parameter is not GrapeCity.Documents.Drawing.DashStyle.Solid, the lines are drawn with a GrapeCity.Documents.Drawing.Pen having GrapeCity.Documents.Drawing.Pen.LineCap set to GrapeCity.Documents.Drawing.PenLineCap.Square instead of GrapeCity.Documents.Drawing.PenLineCap.Flat.

GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドオーバーロードされます。 Draws a path using a specified line color, width and style.

If the value of lineStyle parameter is not GrapeCity.Documents.Drawing.DashStyle.Solid, the path is drawn with a GrapeCity.Documents.Drawing.Pen having GrapeCity.Documents.Drawing.Pen.LineCap set to GrapeCity.Documents.Drawing.PenLineCap.Square instead of GrapeCity.Documents.Drawing.PenLineCap.Flat.

GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドオーバーロードされます。 Draws a polygon specified by an array of points, using a specified line color, width and style.

If the value of lineStyle parameter is not GrapeCity.Documents.Drawing.DashStyle.Solid, the polygon is drawn with a GrapeCity.Documents.Drawing.Pen having GrapeCity.Documents.Drawing.Pen.LineCap set to GrapeCity.Documents.Drawing.PenLineCap.Square instead of GrapeCity.Documents.Drawing.PenLineCap.Flat.

GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドオーバーロードされます。 Draws a rectangle using a specified line color, width and style.

If the value of lineStyle parameter is not GrapeCity.Documents.Drawing.DashStyle.Solid, the rectangle is drawn with a GrapeCity.Documents.Drawing.Pen having GrapeCity.Documents.Drawing.Pen.LineCap set to GrapeCity.Documents.Drawing.PenLineCap.Square instead of GrapeCity.Documents.Drawing.PenLineCap.Flat.

GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドDraws rotated text inside an unrotated rectangle.

Note that the original textLayout will be changed by this method. If necessary, create a clone in advance.

Also note that the values of the following properties are ignored: GrapeCity.Documents.Text.TextLayout.MaxWidth, GrapeCity.Documents.Text.TextLayout.MaxHeight, GrapeCity.Documents.Text.TextLayout.FlowDirection, GrapeCity.Documents.Text.TextLayout.CanSkipFirstLineWithIndentation, GrapeCity.Documents.Text.TextLayout.ObjectRects, GrapeCity.Documents.Text.TextLayout.ParagraphAlignment, GrapeCity.Documents.Text.TextLayout.MarginLeft, GrapeCity.Documents.Text.TextLayout.MarginRight, GrapeCity.Documents.Text.TextLayout.MarginTop, GrapeCity.Documents.Text.TextLayout.MarginBottom, GrapeCity.Documents.Text.TextLayout.ColumnWidth, GrapeCity.Documents.Text.TextLayout.RowHeight.

GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドオーバーロードされます。 Draws a rounded border defined by four GrapeCity.Documents.Drawing.Pen objects and GrapeCity.Documents.Drawing.CornerRadius structure. GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドDraws rotated text inside a slanted rectangle.

Note that the original textLayout will be changed by this method. If necessary, create a clone in advance.

Also note that the values of the following properties are ignored: GrapeCity.Documents.Text.TextLayout.MaxWidth, GrapeCity.Documents.Text.TextLayout.MaxHeight, GrapeCity.Documents.Text.TextLayout.FlowDirection, GrapeCity.Documents.Text.TextLayout.CanSkipFirstLineWithIndentation, GrapeCity.Documents.Text.TextLayout.ObjectRects, GrapeCity.Documents.Text.TextLayout.ParagraphAlignment, GrapeCity.Documents.Text.TextLayout.MarginLeft, GrapeCity.Documents.Text.TextLayout.MarginRight, GrapeCity.Documents.Text.TextLayout.MarginTop, GrapeCity.Documents.Text.TextLayout.MarginBottom, GrapeCity.Documents.Text.TextLayout.ColumnWidth, GrapeCity.Documents.Text.TextLayout.RowHeight.

GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドオーバーロードされます。 Draws a string using a specified GrapeCity.Documents.Text.TextFormat at a specified location. GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドオーバーロードされます。 Draws a specified SVG document at a point specifying the position of the SVG viewport.

To specify the position of the SVG content rather than viewport, see DrawSvgContent(GcSvgDocument,PointF,Single).

GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドオーバーロードされます。 Draws the content of a specified SVG document at a point specifying the top-left corner of the SVG content.

To specify the position of the SVG viewport rather than content, see DrawSvg(GcSvgDocument,PointF,Single).

GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドDraws a GrapeCity.Documents.Text.TextLayout at a specified location.

If any part of the text does not fit in the layout bounds, it is truncated.

GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドオーバーロードされます。 For internal use only. GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドFor internal use. GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドオーバーロードされます。 Fills an ellipse with a specified brush. GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドオーバーロードされます。 Fills a path using a specified brush. GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドオーバーロードされます。 Fills a polygon specified by an array of points, using a specified color and fill mode. GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドオーバーロードされます。 Fills a rectangle using a specified brush. GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドオーバーロードされます。 Fills a rounded rectangle using a specified brush. GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドReturns the size of an image in pixels using the resolution of the current graphics. GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドIndicates whether this graphics implementation supports a specified blend mode. GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドオーバーライドされます。 Indicates whether this graphics implementation supports a specified interpolation mode.

The following interpolation modes are supported by GcSvgGraphics:

 
Public メソッドMeasures how an image will be drawn using the specified bounds and image alignment. GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドCalculates the bounds of rotated text inside an unrotated rectangle.

Note that the original textLayout will be changed by this method. If necessary, create a clone in advance.

Also note that the values of the following properties are ignored: GrapeCity.Documents.Text.TextLayout.MaxWidth, GrapeCity.Documents.Text.TextLayout.MaxHeight, GrapeCity.Documents.Text.TextLayout.FlowDirection, GrapeCity.Documents.Text.TextLayout.CanSkipFirstLineWithIndentation, GrapeCity.Documents.Text.TextLayout.ObjectRects, GrapeCity.Documents.Text.TextLayout.ParagraphAlignment, GrapeCity.Documents.Text.TextLayout.MarginLeft, GrapeCity.Documents.Text.TextLayout.MarginRight, GrapeCity.Documents.Text.TextLayout.MarginTop, GrapeCity.Documents.Text.TextLayout.MarginBottom, GrapeCity.Documents.Text.TextLayout.ColumnWidth, GrapeCity.Documents.Text.TextLayout.RowHeight.

GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドオーバーロードされます。 Measures a string using a specified GrapeCity.Documents.Text.TextFormat, available layout size and GrapeCity.Documents.Text.TextSplitOptions. Also calculates and returns in an output parameter the number of chars that fit into the specified size. GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドオーバーロードされます。 Measures a string using a specified font, font size and layout width, taking into account the trailing whitespace at the end of each line. GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドCalculates the content bounds of a specified SVG document when its viewport is drawn at a specified point. GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドRemoves the last clip. After this method is called, the clip is no longer applied to subsequent drawing operations. GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドEnds the group that was created by the last PushGroup call.  
Public メソッドオーバーライドされます。 Stops redirecting drawing operations to the transparency layer that was created by the last PushTransparencyLayer call.  
Public メソッドオーバーロードされます。 Specifies a rectangle to which all subsequent drawing operations are clipped. Clipping is applied only if containerRect does not contain clipRect.

The GrapeCity.Documents.Drawing.GcGraphics.Clip object returned by this method implements IDisposable, so this method can be used with the 'using' pattern:

using (g.PushClip(...)) ... in which case the clipping region will be removed when the returned object is disposed. GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドStarts a group ('g') element with custom attributes in the SVG document. Call the PopGroup method to end the group.  
Public メソッドオーバーライドされます。 Adds a transparency layer to the GcSvgGraphics so that it receives all subsequent drawing operations until PopTransparencyLayer is called.  
Public メソッドstatic (Shared in Visual Basic)Sets the license key.

A license key is required to use the ToSvgDocument method.

 
Public メソッドFor internal use. Sets a transparency mask for subsequent drawing operations, mask was created with IGcGraphicsLayer.CreateTransparencyMask(). Note! mask can be null, in this case mask should be removed. GrapeCity.Documents.Drawing.GcGraphicsから継承されます。
Public メソッドGenerates a GcSvgDocument from this graphics, and clears its command list afterwards.

Note that if a license key has not been applied (see SetLicenseKey and ApplyLicenseKey methods), only a few calls of ToSvgDocument() are allowed, after which an exception will be thrown.

 
トップ
参照

GcSvgGraphics クラス
GrapeCity.Documents.Svg 名前空間