[]
        
(Showing Draft Content)

C1.WPF.Document.Util.C1HtmlGraphics

C1HtmlGraphics Class

Represents HTML graphics properties and methods.

Inheritance
C1Graphics
C1DXExportGraphics
C1HtmlGraphics
Implements
Namespace: C1.WPF.Document.Util
Assembly: C1.WPF.Document.4.6.2.dll
Syntax
public class C1HtmlGraphics : C1DXExportGraphics, IDisposable

Constructors

Name Description
C1HtmlGraphics(XmlWriter, C1Page, string, bool, bool, bool)

Initializes a new instance of the C1HtmlGraphics class.

Properties

Name Description
Transform

Gets or sets transformation matrix.

Methods

Name Description
CreateClipRegion(IPath)

Creates clip region for specified graphics path. Note! The clip region should NOT dispose passed graphics path, it is managed by the outer code.

CreateClipRegion(Rect)

Creates clip region for specified bounds.

CreatePath()

Creates graphics path.

DrawText(Point, string, string, float, C1FontWeight, C1FontStretch, bool, C1TextDecoration, Color, float[], byte[], bool, int, double)

Simple draw text run.

FillEllipse(Color, Rect)
FillPath(Color, IPath)
FillRectangle(Color, Rect)
InternalDrawEllipse(Rect, Color, double, PenStyle)
InternalDrawLine(double, double, double, double, Color, double, PenStyle)
InternalDrawPath(IPath, Color, double, PenStyle)
InternalDrawRectangle(Rect, Color, double, PenStyle)
InternalFillEllipse(C1Brush, Rect)
InternalFillPath(C1Brush, IPath)
InternalFillRectangle(C1Brush, Rect)
InternalRemoveClip(IClipRegion)
InternalSetClip(IClipRegion)
WriteBookmark(string, Rect)

Used to identify some area on the C1.WPF.Document.Util.C1Graphics this area can be referenced in WriteHyperlink(C1Hyperlink, Rect) method. Used in "exports" graphics.

Marks some area as clickable hyperlink defines the target.

Adds rectangles surrounded by A tag with HREF to the end of SVG content.

Adds rectangles surrounded by A tag with HREF to the end of SVG content