## DocDevice.DocGraphicContext class

Holds current graphics control parameters for the DocDevice. These parameters define the global framework within which the graphics operators execute.

```csharp
public class DocGraphicContext : GraphicContext
```

## Constructors

| Name | Description |
| --- | --- |
| [DocGraphicContext](../../aspose.html.rendering.doc/docdevice.docgraphiccontext/.ctor)() | The default constructor. |

## Properties

| Name | Description |
| --- | --- |
| virtual [CharacterSpacing](../../aspose.html.rendering/graphiccontext/characterspacing/) { get; set; } | Sets or gets character spacing. |
| [CurrentElement](../../aspose.html.rendering/graphiccontext/currentelement/) { get; } | Gets current processed element. |
| virtual [FillBrush](../../aspose.html.rendering/graphiccontext/fillbrush/) { get; set; } | Sets or gets the brush object that is used to fill the interiors of paths. |
| virtual [Font](../../aspose.html.rendering/graphiccontext/font/) { get; set; } | Sets or gets the true type font object that is used for rendering text. |
| virtual [FontSize](../../aspose.html.rendering/graphiccontext/fontsize/) { get; set; } | Sets or gets text font size. |
| virtual [FontStyle](../../aspose.html.rendering/graphiccontext/fontstyle/) { get; set; } | Sets or gets text font style. |
| virtual [LineCap](../../aspose.html.rendering/graphiccontext/linecap/) { get; set; } | Sets or gets the code specifying the shape of the endpoints for any open path that is stroked. |
| virtual [LineDashOffset](../../aspose.html.rendering/graphiccontext/linedashoffset/) { get; set; } | Sets or gets the phase offset of the current line dash pattern. |
| virtual [LineDashPattern](../../aspose.html.rendering/graphiccontext/linedashpattern/) { get; set; } | Sets or gets the description of the dash pattern to be used when paths are stroked. Can be set to null or an empty array to be disabled. |
| virtual [LineJoin](../../aspose.html.rendering/graphiccontext/linejoin/) { get; set; } | Sets or gets the code specifying the shape of joints between connected segments of a stroked path. |
| virtual [LineWidth](../../aspose.html.rendering/graphiccontext/linewidth/) { get; set; } | Sets or gets the thickness of paths to be stroked. |
| virtual [MiterLimit](../../aspose.html.rendering/graphiccontext/miterlimit/) { get; set; } | Sets or gets the maximum length of mitered line joins for stroked paths. This parameter limits the length of "spikes" produced when line segments join at sharp angles. |
| virtual [StrokeBrush](../../aspose.html.rendering/graphiccontext/strokebrush/) { get; set; } | Sets or gets the brush object that is used for stroked paths. |
| virtual [TextInfo](../../aspose.html.rendering/graphiccontext/textinfo/) { get; } | Gets a [`TextInfo`](../../aspose.html.rendering/textinfo/) object which contains information about rendered text. |
| override [TransformationMatrix](../../aspose.html.rendering.doc/docdevice.docgraphiccontext/transformationmatrix) { get; set; } | Sets or gets transformation matrix. |

## Methods

| Name | Description |
| --- | --- |
| override [Clone](../../aspose.html.rendering.doc/docdevice.docgraphiccontext/clone)() | Creates a new instance of a [`GraphicContext`](../../aspose.html.rendering/graphiccontext/) class with the same property values as an existing instance. |
| override [Transform](../../aspose.html.rendering.doc/docdevice.docgraphiccontext/transform)(*[IMatrix](../../aspose.html.drawing/imatrix/)*) | Modify the current transformation matrix by multiplying the specified matrix. |

### See Also

* class [GraphicContext](../../aspose.html.rendering/graphiccontext/)
* class [DocDevice](../docdevice/)
* namespace [Aspose.Html.Rendering.Doc](../../aspose.html.rendering.doc/)
* assembly [Aspose.HTML](../../)
