Click or drag to resize

PdfText Class

Represents the text information for the current page
Inheritance Hierarchy

Namespace:  Patagames.Pdf.Net
Assemblies:   Patagames.Pdf.Xamarin.iOS (in Patagames.Pdf.Xamarin.iOS.dll) Version: 4.84.2704
  Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.84.2704
public class PdfText : IDisposable

The PdfText type exposes the following members.

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
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
See Also