Class PDFPage

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

public class PDFPage
extends NSObject
Since:
Available in iOS 11.0 and later.
  • Constructor Details

    • PDFPage

      public PDFPage()
    • PDFPage

      protected PDFPage​(NSObject.Handle h, long handle)
    • PDFPage

      protected PDFPage​(NSObject.SkipInit skipInit)
    • PDFPage

      public PDFPage​(UIImage image)
      Since:
      Available in iOS 11.0 and later.
  • Method Details

    • getDocument

      public PDFDocument getDocument()
    • getPageRef

      public CGPDFPage getPageRef()
    • getLabel

      public String getLabel()
    • getRotation

      public long getRotation()
    • setRotation

      public void setRotation​(long v)
    • getAnnotations

      public NSArray<PDFAnnotation> getAnnotations()
    • displaysAnnotations

      public boolean displaysAnnotations()
    • setDisplaysAnnotations

      public void setDisplaysAnnotations​(boolean v)
    • getNumberOfCharacters

      public long getNumberOfCharacters()
    • getString

      public String getString()
    • getAttributedString

      public NSAttributedString getAttributedString()
    • getDataRepresentation

      public NSData getDataRepresentation()
    • init

      protected long init​(UIImage image)
      Since:
      Available in iOS 11.0 and later.
    • boundsForBox

      public CGRect boundsForBox​(PDFDisplayBox box)
    • setBounds

      public void setBounds​(CGRect bounds, PDFDisplayBox box)
    • addAnnotation

      public void addAnnotation​(PDFAnnotation annotation)
    • removeAnnotation

      public void removeAnnotation​(PDFAnnotation annotation)
    • annotationAtPoint

      public PDFAnnotation annotationAtPoint​(CGPoint point)
    • transformForBox

      public CGAffineTransform transformForBox​(PDFDisplayBox box)
      Since:
      Available in iOS 11.0 and later.
    • draw

      public void draw​(PDFDisplayBox box, CGContext context)
      Since:
      Available in iOS 11.0 and later.
    • transformContext

      public void transformContext​(CGContext context, PDFDisplayBox box)
      Since:
      Available in iOS 11.0 and later.
    • thumbnail

      public UIImage thumbnail​(CGSize size, PDFDisplayBox box)
      Since:
      Available in iOS 11.0 and later.
    • characterBoundsAtIndex

      public CGRect characterBoundsAtIndex​(long index)
    • characterIndexAtPoint

      public long characterIndexAtPoint​(CGPoint point)
    • selectionForRect

      public PDFSelection selectionForRect​(CGRect rect)
    • selectionForWordAtPoint

      public PDFSelection selectionForWordAtPoint​(CGPoint point)
    • selectionForLineAtPoint

      public PDFSelection selectionForLineAtPoint​(CGPoint point)
    • selection

      public PDFSelection selection​(CGPoint startPoint, CGPoint endPoint)
    • selectionForRange

      public PDFSelection selectionForRange​(NSRange range)