PDFsharp-net6

UAManager

Namespace: PdfSharp.UniversalAccessibility

This is just a scratch.

public class UAManager

Inheritance ObjectUAManager

Properties

StructureTreeRoot

Root of the structure tree.

public PdfStructureTreeRoot StructureTreeRoot { get; set; }

Property Value

PdfStructureTreeRoot

StructureTreeElementDocument

Structure element of the document.

public PdfStructureElement StructureTreeElementDocument { get; set; }

Property Value

PdfStructureElement

StructureBuilder

Gets the structure builder.

public StructureBuilder StructureBuilder { get; }

Property Value

StructureBuilder

Owner

Gets the owning document for this UAManager.

public PdfDocument Owner { get; }

Property Value

PdfDocument

CurrentPage

Gets the current page.

public PdfPage CurrentPage { get; private set; }

Property Value

PdfPage

CurrentGraphics

Gets the current XGraphics object.

public XGraphics CurrentGraphics { get; private set; }

Property Value

XGraphics

Methods

ForDocument(PdfDocument)

Gets the Universal Accessibility Manager for the document.

public static UAManager ForDocument(PdfDocument document)

Parameters

document PdfDocument

Returns

UAManager

SetDocumentLanguage(String)

Sets the language of the document.

public void SetDocumentLanguage(string lang)

Parameters

lang String

BeginTextMode()

Sets the text mode.

public void BeginTextMode()

BeginGraphicMode()

Sets the graphic mode.

public void BeginGraphicMode()

IsInTextMode()

Determine if renderer is in Text mode or Graphic mode.

public bool IsInTextMode()

Returns

Boolean