[]
        
(Showing Draft Content)

C1.Win.Document.Util.C1GcGraphics

C1GcGraphics Class

The C1GcGraphics used in exporters.

Inheritance
C1Graphics
C1GcGraphics
Namespace: C1.Win.Document.Util
Assembly: C1.Win.Document.10.dll
Syntax
public class C1GcGraphics : C1DXExportGraphics, IDisposable, IC1DXTextLayoutOwner
Public Class C1GcGraphics
    Inherits C1DXExportGraphics
    Implements IDisposable, IC1DXTextLayoutOwner

Properties

Name Description
NativeGraphics

GrapeCity.Documents.Drawing.GcGraphics instance.

Transform

Gets or sets transformation matrix.

Methods

Name Description
BeginTransform()

For internal use only.

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.

Dispose(bool)
DrawGlyphRun(double, double, int, IntPtr, IntPtr, IntPtr, IntPtr, Color, IC1TextRangeBase, C1TextLayout, string)
DrawGlyphs(Point, GlyphRun, GlyphRunDescription, Color, MeasuringMode, string)

Exactly draw glyphs run.

EndTransform()

For internal use only.

FillEllipse(Color, Rect)
FillPath(Color, IPath)
FillRectangle(Color, Rect)
InternalCreateImage(IImage)
InternalCreateImage(GcBitmap)
InternalDrawEllipse(Rect, Color, double, PenStyle)
InternalDrawImage(INativeImage, Rect)
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)
PageScale(double, double)

Set page scale for this graphics (for links and bookmarks).

Reset()

Resets state of this C1GcGraphics object, called from exporters when rendering of the document's page is finished.

WriteBookmark(string, Rect)

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

Marks some area as clickable hyperlink defines the target.