[]
        
(Showing Draft Content)

C1.Win.Document.Util.C1DXExportGraphics

C1DXExportGraphics Class

Base class for all graphics objects used in exporters.

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

Constructors

Name Description
C1DXExportGraphics()

Initializes a new instance of the C1DXExportGraphics class.

Properties

Name Description
DpiX

Gets the horizontal resolution of the context.

DpiY

Gets the vertical resolution of the context.

Factory

Gets the Factory object of graphics object used Direct2D and DirectWrite to perform drawing.

Methods

Name Description
Convert(Rect, double, double, double, double)

Converts the dimensions of the rectangle using DPI values.

CreateTextLayout()

Creates and initializes the C1.Document.Util.C1TextLayout object which can be used to render or measure text on the graphics.

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.

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

Simple draw text run.

GetBackColor(RenderFragment)

Gets the backcolor of parent C1.Document.RenderFragment object.

GetBrushImage(C1Brush, Point, Size)

Gets the brush image.

GetRtfImage(Graphics, string, int, int, Rect, bool, out Size)

Gets specified RTF text into metafile and returns this metafile.