Table of Contents

Class RenderTextEventArgs

Namespace
PdfSharp.Events
Assembly
PdfSharp.dll

EventArgs for RenderTextEvent.

public class RenderTextEventArgs : PdfSharpEventArgs
Inheritance
RenderTextEventArgs
Inherited Members

Constructors

RenderTextEventArgs(PdfObject)

EventArgs for RenderTextEvent.

public RenderTextEventArgs(PdfObject source)

Parameters

source PdfObject

Properties

CodePointGlyphIndexPairs

Gets or sets the array containing the code points and glyph indices. An event handler can modify or replace this array.

public CodePointGlyphIndexPair[] CodePointGlyphIndexPairs { get; set; }

Property Value

CodePointGlyphIndexPair[]

Font

Gets the font used to draw the text. The font cannot be changed in an event handler.

public XFont Font { get; init; }

Property Value

XFont

ReevaluateGlyphIndices

Gets or sets a value indicating whether the determination of the glyph identifiers must be reevaluated. An event handler set this property to true after it changed code points but does not set the appropriate glyph identifier.

public bool ReevaluateGlyphIndices { get; set; }

Property Value

bool