Click or drag to resize

PdfText Class

Represents the text information for the current page
Inheritance Hierarchy
SystemObject
  Patagames.Pdf.NetPdfText

Namespace: Patagames.Pdf.Net
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.89.2704
Syntax
public class PdfText : IDisposable

The PdfText type exposes the following members.

Properties
 NameDescription
Public propertyCountChars

Gets number of characters in a page or -1 for error.

Generated characters, like additional space characters, new line characters, are also counted.

Public propertyHandle Gets the Pdfium SDK handle that the PdfText is bound to
Public propertyIsDisposed Gets a value indicating whether the object has been disposed of.

Field Value

true if the control has been disposed of; otherwise, false.
Public propertyWebLinks Gets the instance of PdfWebLinkCollection class that represents the web link on current page
Top
Methods
 NameDescription
Public methodDispose Releases all resources used by the PdfText.
Protected methodDispose(Boolean) Releases all resources used by the PdfImageObject.
Protected methodFinalize Finalize object
(Overrides ObjectFinalize)
Public methodFind Start a search.
Public methodGetBoundedText(FS_RECTF) Extract text within a rectangular boundary on the page specified by a FS_RECTF structure.
Public methodGetBoundedText(Single, Single, Single, Single) Extract text within a rectangular boundary on the page specified by a coordinate pair, a width, and a height.
Public methodGetCharacter Get Unicode of a character in a page
Public methodGetCharBox Get bounding box of a particular character.
Public methodGetCharIndexAtPos Get the index of a character at or nearby a certain position on the page
Public methodGetFontSize Get the font size of a particular character
Public methodGetText Extract text string from the page
Public methodGetTextInfo Extract text information structure from the page
Top
See Also