Click or drag to resize

PdfTextPage Class

The object representation of a page in a PDF document. Used for PDF text search and complex text extraction.
Inheritance Hierarchy
SystemObject
  Atalasoft.Pdf.TextExtractPdfTextPage

Namespace:  Atalasoft.Pdf.TextExtract
Assembly:  Atalasoft.dotImage.PdfReader (in Atalasoft.dotImage.PdfReader.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public class PdfTextPage : IDisposable

The PdfTextPage type exposes the following members.

Properties
  NameDescription
Public propertyCharCount
The number of characters in the page.
Protected propertyCropBox
Get a PDF page CropBox.
Public propertyHeight
The height of the page in PDF "user space".
Protected propertyMediaBox
Get a PDF page MediaBox.
Protected propertyPdfPage
Gets a native pointer to PDF page
Public propertyRotate

Gets the clockwise rotation in degrees that the viewer should apply to the page.

Protected propertyTextPage
Gets a native pointer to PDF text page
Public propertyWidth
The width of the page in PDF "user space".
Top
Methods
  NameDescription
Public methodCharAt
Gets a character from this page by index.
Public methodCharBox
Gets the bounding box of a character at an index.
Public methodCharIsGenerated
Indicates whether a character at an index is a generated character or actually exists in the PDF.
Public methodCharOrigin
Get origin position of a particular character by index.
Public methodConvertPdfUnitsToPixels(PointF, Dpi)
Converts a point given in PDF User space units to the corresponding pixel location at the given resolution.
Public methodConvertPdfUnitsToPixels(QuadrilateralF, Dpi)
Converts a quadrilateral given in PDF User space units to the corresponding pixel location at the given resolution.
Public methodConvertPixelsToPdfUnits(PointF, Dpi)
Converts a point given in pixels to the corresponding location in PDF User space units at the given resolution.
Public methodConvertPixelsToPdfUnits(QuadrilateralF, Dpi)
Converts a quadrilateral given in pixels to the corresponding location in PDF User space units at the given resolution.
Public methodDispose
Releases all resources used by the PdfTextPage
Protected methodDispose(Boolean)
Releases the unmanaged resources used by the PdfTextPage and optionally releases the managed resources
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetBoundedTextSegments
Gets all of the text segments within a rectangular boundary on the page.
Public methodGetBoxes
Given an character index and a number of characters returns a bounding box for the specified text.
Public methodGetFont
Gets a PdfTextFont object containing the font information for the specified character.
Public methodGetFontSize
Gets the font size of the specified character.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetIndexFromPoint(PointF, Double)
Gets the index of a character at or nearby a given position on the page.
Public methodGetIndexFromPoint(PointF, Double, Double)
Gets the index of a character at or nearby a given position on the page.
Public methodGetText
Extracts a text string from the page.
Public methodGetTextInBox
Extract text within a rectangular boundary on the page.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSearch
Begins the text search process.
Protected methodThrowWhenBadIndex
A helper method to check that index is in available range.
Protected methodThrowWhenBadSearchIndex
A helper method to check that index is in available range.
Protected methodThrowWhenDisposed
A helper method to check for object disposed state.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also