Define display modes, scaling, rendering, printing and graphics properties.
Framework
- Quartz
Define display modes, scaling, rendering, printing and graphics properties.
Framework
var display Mode: PDFDisplay Mode
The current display mode.
enum PDFDisplay Mode
A wrapper for the chosen display mode constant.
Operations for setting up page breaks, a display box, and display direction.
Operations to setup a book display for a PDF view.
Operations to define the background color, antialiasing, and greeking for a PDF view.
var scale Factor: CGFloat
The current scale factor for the view.
var scale Factor For Size To Fit: CGFloat
The "size to fit" scale factor that auto
would use for scaling the current document and layout.
var max Scale Factor: CGFloat
The maximum scaling factor for the PDF document.
var min Scale Factor: CGFloat
The minimum scaling factor for the PDF document.
var auto Scales: Bool
A Boolean value indicating whether autoscaling is set.
func row Size(for: PDFPage) -> CGSize
Returns the size needed to display a row of the current document page.
Zoom operations for a PDF View.
func print(with: NSPrint Info, auto Rotate: Bool)
Prints the document with the specified printer information.
func print(with: NSPrint Info, auto Rotate: Bool, page Scaling: PDFPrint Scaling Mode)
Prints the document with the specified printer and page-scaling information.
var document View: UIView?
The innermost view used by PDFView
or by your PDFView
subclass.
func layout Document View()
Performs layout of the inner views.
Draw in a PDF page.