Search

  • Represents a single character (glyph, quad) on the PDF page.

    Note

    Glyphs are created from the PDF contents and not meant to be created manually.
    See more

    Declaration

    Objective-C

    
    @interface PSPDFGlyph : NSObject <NSCopying, NSSecureCoding>

    Swift

    class Glyph : NSObject, NSCopying, NSSecureCoding
  • Defines the position if an image in the PDF.

    Note

    This class should not be manually instantiated. Use PSPDFTextParser to fetch images.
    See more

    Declaration

    Objective-C

    
    @interface PSPDFImageInfo : NSObject <NSCopying, NSSecureCoding>

    Swift

    class ImageInfo : NSObject, NSCopying, NSSecureCoding
  • Represents an immutable search result from PSPDFTextSearch

    See more

    Declaration

    Objective-C

    
    @interface PSPDFSearchResult : PSPDFModel

    Swift

    class SearchResult : ModelObject
  • Represents multiple words forming a text block. (e.g. a Column)

    See more

    Declaration

    Objective-C

    
    @interface PSPDFTextBlock : NSObject <NSCopying, NSSecureCoding>

    Swift

    class TextBlock : NSObject, NSCopying, NSSecureCoding
  • Parses text and glyph data of a PDF page.

    Note

    Do not instantiate this class directly. Instead, use -[PSPDFDocument textParserForPageAtIndex:]. Properties are evaluated lazily and cached.
    See more

    Declaration

    Objective-C

    
    @interface PSPDFTextParser : NSObject <PSPDFOverridable>

    Swift

    class TextParser : NSObject, Overridable
  • Manages search operations for a specific document. You can copy this class to be able to use it on your custom class. (and set a different delegate) Copying will preserve all settings except the delegate.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFTextSearch : NSObject <NSCopying, PSPDFOverridable>

    Swift

    class TextSearch : NSObject, NSCopying, Overridable
  • Represents a word. Formed out of (usually) multiple glyphs.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFWord : NSObject <NSCopying, NSSecureCoding>

    Swift

    class Word : NSObject, NSCopying, NSSecureCoding