PSPDFAppearanceMode
Objective-C
NS_OPTIONS(NSUInteger, PSPDFAppearanceMode) {
/// Normal application appearance and page rendering, as configured by the host app.
PSPDFAppearanceModeDefault = 0,
/// Renders the PDF content with a sepia tone.
PSPDFAppearanceModeSepia = 1 << 0,
/// Inverts the PDF page content and applies color correction.
PSPDFAppearanceModeNight = 1 << 1,
/// All options.
PSPDFAppearanceModeAll = PSPDFAppearanceModeDefault | PSPDFAppearanceModeSepia | PSPDFAppearanceModeNight
}
Swift
struct PDFAppearanceMode : OptionSet, @unchecked Sendable
Undocumented
-
Normal application appearance and page rendering, as configured by the host app.
Declaration
Objective-C
PSPDFAppearanceModeDefault = 0
-
Renders the PDF content with a sepia tone.
Declaration
Objective-C
PSPDFAppearanceModeSepia = 1 << 0
Swift
static var sepia: PDFAppearanceMode { get }
-
Inverts the PDF page content and applies color correction.
Declaration
Objective-C
PSPDFAppearanceModeNight = 1 << 1
Swift
static var night: PDFAppearanceMode { get }
-
All options.
Declaration
Objective-C
PSPDFAppearanceModeAll = PSPDFAppearanceModeDefault | PSPDFAppearanceModeSepia | PSPDFAppearanceModeNight
Swift
static var all: PDFAppearanceMode { get }