PSPDFCacheImageSizeMatching
Objective-C
enum PSPDFCacheImageSizeMatching {}
Swift
struct ImageSizeMatching : OptionSet
PSPDFCacheImageSizeMatching
is a bit mask that can be used to control how
the cache determines if an image’s size matches a given request.
-
Requires the exact size, the default option.
Declaration
Objective-C
PSPDFCacheImageSizeMatchingExact = 0
-
Allow serving images of larger size.
Declaration
Objective-C
PSPDFCacheImageSizeMatchingAllowLarger = 1 << 0
Swift
static var allowLarger: PDFCache.ImageSizeMatching { get }
-
Allow serving images of smaller size.
Declaration
Objective-C
PSPDFCacheImageSizeMatchingAllowSmaller = 1 << 1
Swift
static var allowSmaller: PDFCache.ImageSizeMatching { get }
-
Allow serving images of smaller size.
Declaration
Objective-C
PSPDFCacheImageSizeMatchingDefault = PSPDFCacheImageSizeMatchingExact