| Name | Description |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | BeginLayer | Overloaded. Begins rendering to a layer specified by layerName. That name should match the GrapeCity.Documents.Pdf.Layers.OptionalContentGroup.Name of an existing GrapeCity.Documents.Pdf.Layers.OptionalContentGroup in the GrapeCity.Documents.Pdf.Layers.OptionalContentProperties.Groups collection of the current document's GcPdfDocument.OptionalContent.
The EndLayer method must be called to end rendering to the specified layer. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | BeginMarkedContent | Overloaded. Begins Marked Content. Writes (BMC or BDC) operator to content stream, each call of BeginMarkedContent(String) should be enclosed with EndMarkedContent. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | CreateClipRegion | Overloaded. Creates a clip region from a graphics path.
Use PushClip(IClipRegion) and PopClip to set/remove clipping. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | CreatePath | Creates a graphics path. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | CreateRoundBordersPath | Creates GrapeCity.Documents.Drawing.IPath object representing round border. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | CreateTextLayout | 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. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | Dispose() | Disposes the current graphics. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | DrawEllipse | Overloaded. 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. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | DrawForm | Overloaded. Draws a GrapeCity.Documents.Pdf.Graphics.FormXObject using specified bounds and image alignment.
The output parameter imageBounds receives the actual bounds of the drawn object(s). |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | DrawImage | Overloaded. Draws an image using specified bounds, clipping and image alignment. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | DrawLine | Overloaded. 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. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | DrawLines | Overloaded. 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. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | DrawPath | Overloaded. 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. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | DrawPolygon | Overloaded. 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. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | DrawRectangle | Overloaded. 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. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | DrawRotatedText | Draws rotated text inside an unrotated rectangle.
Note that the original will be changed by this method. If necessary, create a clone in advance.
Also note that the values of the following properties are ignored: MaxWidth, MaxHeight, FlowDirection, GrapeCity.Documents.Text.TextLayout.CanSkipFirstLineWithIndentation, ObjectRects, GrapeCity.Documents.Text.TextLayout.ParagraphAlignment, 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. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | DrawRoundRect | Overloaded. Draws a rounded border defined by four GrapeCity.Documents.Drawing.Pen objects and GrapeCity.Documents.Drawing.CornerRadius structure. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | DrawSlantedText | Draws rotated text inside a slanted rectangle.
Note that the original will be changed by this method. If necessary, create a clone in advance.
Also note that the values of the following properties are ignored: MaxWidth, MaxHeight, FlowDirection, GrapeCity.Documents.Text.TextLayout.CanSkipFirstLineWithIndentation, ObjectRects, GrapeCity.Documents.Text.TextLayout.ParagraphAlignment, 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. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | DrawString | Overloaded. Draws a string using a specified GrapeCity.Documents.Text.TextFormat at a specified location. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | DrawSvg | Overloaded. 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). (Inherited from GrapeCity.Documents.Drawing.GcGraphics) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | DrawSvgContent | Overloaded. 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). (Inherited from GrapeCity.Documents.Drawing.GcGraphics) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | DrawTextLayout | 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. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | EndLayer | Ends rendering to the layer specified by a previous call to BeginLayer(String), BeginLayer(OptionalContentGroup) or BeginLayer(OptionalContentMembership). |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | EndMarkedContent | Ends Marked Content. Writes EMC operator to content stream. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | FillEllipse | Overloaded. Fills an ellipse with a specified brush. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | FillPath | Overloaded. Fills a path using a specified brush. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | FillPolygon | Overloaded. Fills a polygon specified by an array of points, using a specified color and fill mode. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | FillRectangle | Overloaded. Fills a rectangle using a specified brush. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | FillRoundRect | Overloaded. Fills a rounded rectangle using a specified brush. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | GetImageSize | Returns the size of an image in pixels using the resolution of the current graphics. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | IsBlendModeSupported | Overridden. Indicates whether this graphics implementation supports a specified blend mode.
The following blend modes are supported by GcPdfGraphics:
|
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | IsInterpolationModeSupported | Overridden. Indicates whether this graphics implementation supports a specified interpolation mode.
GrapeCity.Documents.Drawing.InterpolationMode.NearestNeighbor is the only interpolation mode supported by GcPdfGraphics. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | MeasureImage | Measures how an image will be drawn using the specified bounds and image alignment. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | MeasureRotatedText | Calculates the bounds of rotated text inside an unrotated rectangle.
Note that the original will be changed by this method. If necessary, create a clone in advance.
Also note that the values of the following properties are ignored: MaxWidth, MaxHeight, FlowDirection, GrapeCity.Documents.Text.TextLayout.CanSkipFirstLineWithIndentation, ObjectRects, GrapeCity.Documents.Text.TextLayout.ParagraphAlignment, 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. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | MeasureString | Overloaded. 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. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | MeasureStringWithTrailingWhitespace | Overloaded. Measures a string using a specified font, font size and layout width, taking into account the trailing whitespace at the end of each line. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | MeasureSvg | Calculates the content bounds of a specified SVG document when its viewport is drawn at a specified point. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | PopClip | Removes the last clip. After this method is called, the clip is no longer applied to subsequent drawing operations. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | PopTransparencyLayer | Overridden. Stops redirecting drawing operations to the transparency layer that was created by the last PushTransparencyLayer call. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | PushClip | Overloaded. 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. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | PushTransparencyLayer | Overridden. Adds a transparency layer to the GcPdfGraphics so that it receives all subsequent drawing operations until PopTransparencyLayer is called. |