[]
        
(Showing Draft Content)

C1.WPF.Document.Util.C1HtmlGraphics

C1HtmlGraphics Class

Represents HTML graphics properties and methods.

Inheritance
C1Graphics
C1ExportGraphicsBase
C1HtmlGraphics
C1HtmlGraphics
Implements
Namespace: C1.WPF.Document.Util
Assembly: C1.WPF.Document.dll
Syntax
public class C1HtmlGraphics : C1HtmlGraphics, IDisposable
Public Class C1HtmlGraphics
    Inherits C1HtmlGraphics
    Implements IDisposable

Constructors

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

Initializes a new instance of the C1.Document.Util.C1HtmlGraphics class.

Methods

Name Description
CreateTextLayout()

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

CustomDraw(RenderFragment, ref FragmentDrawParams)

Allows C1.Document.Util.C1Graphics descendant to override drawing of some render fragments. This method should return true if drawing implemented by the C1Graphics in the custom way. Only background and content should be drawn, borders are drawn always.

Dispose(bool)
DrawGlyphRun(double, double, int, IntPtr, IntPtr, IntPtr, IntPtr, Color, IC1TextRangeBase, C1TextLayout, string)

Renders a run of glyphs.

GetHtmlColor(Color)

Returns HTML impersonation of color.

InternalCreateImage(IImage)
SaveImage(INativeImage, string, int, int, bool)

Saves image.