Questions tagged [ios-pdfkit-outlines]

This tag should only be used for questions related to PDFKit which is available for iOS as of iOS 11.0 and macOS as of 10.4.

2 questions
1
vote
1 answer

How to draw a line/stroke with custom pattern/image using core graphics?

Im working on a pdf annotation app, as of now i'm able to draw a line using image in "PDFAnnotationSubtype.stamp". Image: using below code: public class ImageAnnotation: PDFAnnotation{ init(with image: UIImage!, forBounds bounds: CGRect,…
Raj Kiran
  • 152
  • 1
  • 9
1
vote
1 answer

macOS/iOS PDFKit: create document's outline root

The following example code allows to add an outline (or "bookmark" in Acrobat's terminology) to a existing PDFDocument pdfDoc with label Page n pointing to page number n where n is the passed argument pageNum. void insertOutline( PDFDocument…
Paolo
  • 15,233
  • 27
  • 70
  • 91