Click or drag to resize
Pdf Library for .NET

PdfFigure Class

A figure of a tagged document - a Figure or Formula element - and its descriptions (see PdfAccessibilityManager).
Inheritance Hierarchy
SystemObject
  SelectPdf.UniversalPdfFigure

Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.6
Syntax
public class PdfFigure

The PdfFigure type exposes the following members.

Properties
 NameDescription
Public propertyActualTextGets or sets the figure's actual text: the text it shows, when it is a picture of text (a formula, a scanned word). Null or empty removes it.
Public propertyAlternateTextGets or sets the figure's alternative text: the description a screen reader reads. Null or empty removes it.
Public propertyBoundsGets where the figure is on its page, in points from the top-left corner of the page as displayed (its crop box, rotated as shown).
Public propertyIsDecorative Gets or sets whether the figure is decorative. When saved, a decorative figure leaves the structure tree and its content becomes an artifact: the page looks the same, and screen readers skip it.
Public propertyPageIndexGets the zero-based index of the page the figure starts on; -1 when it has no content on any page.
Public propertyTypeGets the figure's type: Figure, or Formula (which needs a description too). A custom type is reported as the standard type it maps to.
Top
Methods
 NameDescription
Public methodGetImageRenders the figure's area of its page as a PNG image, at 150 dpi.
Public methodGetImage(Int32)Renders the figure's area of its page as a PNG image, through the native PDF engine.
Top
See Also