CPDFKitConfig Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | CPDFKitConfig.h |
+ sharedInstance
The shared CPDFKitConfig configuration instance.
+ (instancetype)sharedInstanceDiscussion
The shared CPDFKitConfig configuration instance.
Declared In
CPDFKitConfig.h
– cacheSize
Get the cache size.
- (unsigned long long)cacheSizeDiscussion
Get the cache size.
Declared In
CPDFKitConfig.h
– clearCache
Clear the cache.
- (void)clearCacheDiscussion
Clear the cache.
Declared In
CPDFKitConfig.h
– displayDirection
– setDisplayDirection:
– displayMode
– setDisplayMode:
– enableAnnotationNoRotate
Get whether to allow annotation rotation.
- (BOOL)enableAnnotationNoRotateDiscussion
Get whether to allow annotation rotation.
Declared In
CPDFKitConfig.h
– setEnableAnnotationNoRotate:
If set, do not rotate the annotation’s appearance to match the rotation of the page. The upper-left corner of the annotation rectangle shall remain in a fixed location on the page, regardless of the page rotation.
- (void)setEnableAnnotationNoRotate:(BOOL)enableAnnotationNoRotateDiscussion
If set, do not rotate the annotation’s appearance to match the rotation of the page. The upper-left corner of the annotation rectangle shall remain in a fixed location on the page, regardless of the page rotation.
Declared In
CPDFKitConfig.h
– annotationAuthor
Get the default author of annotations.
- (NSString *)annotationAuthorDiscussion
Get the default author of annotations.
Declared In
CPDFKitConfig.h
– setAnnotationAuthor:
Set the default author of annotations.
- (void)setAnnotationAuthor:(NSString *)annotationAuthorDiscussion
Set the default author of annotations.
Declared In
CPDFKitConfig.h
– enableFreehandPencilKit
Get whether to allow to add freehand annotation by PencilKit.
- (BOOL)enableFreehandPencilKitDiscussion
Get whether to allow to add freehand annotation by PencilKit.
Declared In
CPDFKitConfig.h
– setEnableFreehandPencilKit:
Set whether to allow to add annotation by PencilKit.
- (void)setEnableFreehandPencilKit:(BOOL)enableFreehandPencilKitDiscussion
Set whether to allow to add annotation by PencilKit.
Declared In
CPDFKitConfig.h
– highlightAnnotationColor
Get the default color of highlight annotations.
- (CPDFKitPlatformColor *)highlightAnnotationColorDiscussion
Get the default color of highlight annotations.
Declared In
CPDFKitConfig.h
– setHighlightAnnotationColor:
Set the default color of highlight annotations.
- (void)setHighlightAnnotationColor:(CPDFKitPlatformColor *)highlightAnnotationColorDiscussion
Set the default color of highlight annotations.
Declared In
CPDFKitConfig.h
– underlineAnnotationColor
Get the default color of underline annotations.
- (CPDFKitPlatformColor *)underlineAnnotationColorDiscussion
Get the default color of underline annotations.
Declared In
CPDFKitConfig.h
– setUnderlineAnnotationColor:
Set the default color of underline annotations.
- (void)setUnderlineAnnotationColor:(CPDFKitPlatformColor *)underlineAnnotationColorDiscussion
Set the default color of underline annotations.
Declared In
CPDFKitConfig.h
– strikeoutAnnotationColor
Get the default color of strikeout annotations.
- (CPDFKitPlatformColor *)strikeoutAnnotationColorDiscussion
Get the default color of strikeout annotations.
Declared In
CPDFKitConfig.h
– setStrikeoutAnnotationColor:
Set the default color of strikeout annotations.
- (void)setStrikeoutAnnotationColor:(CPDFKitPlatformColor *)strikeoutAnnotationColorDiscussion
Set the default color of strikeout annotations.
Declared In
CPDFKitConfig.h
– squigglyAnnotationColor
Get the default color of squiggly annotations.
- (CPDFKitPlatformColor *)squigglyAnnotationColorDiscussion
Get the default color of squiggly annotations.
Declared In
CPDFKitConfig.h
– setSquigglyAnnotationColor:
Set the default color of squiggly annotations.
- (void)setSquigglyAnnotationColor:(CPDFKitPlatformColor *)squigglyAnnotationColorDiscussion
Set the default color of squiggly annotations.
Declared In
CPDFKitConfig.h
– markupAnnotationOpacity
Get the default opacity of markup annotations.
- (CGFloat)markupAnnotationOpacityDiscussion
Get the default opacity of markup annotations.
Declared In
CPDFKitConfig.h
– setMarkupAnnotationOpacity:
Set the default opacity of markup annotations.
- (void)setMarkupAnnotationOpacity:(CGFloat)markupAnnotationOpacityDiscussion
Set the default opacity of markup annotations.
Declared In
CPDFKitConfig.h
– shapeAnnotationColor
Get the default color of shape annotations.
- (CPDFKitPlatformColor *)shapeAnnotationColorDiscussion
Get the default color of shape annotations.
Declared In
CPDFKitConfig.h
– setShapeAnnotationColor:
Set the default color of shape annotations.
- (void)setShapeAnnotationColor:(CPDFKitPlatformColor *)shapeAnnotationColorDiscussion
Set the default color of shape annotations.
Declared In
CPDFKitConfig.h
– shapeAnnotationInteriorColor
Get the default interior color of shape annotations.
- (CPDFKitPlatformColor *)shapeAnnotationInteriorColorDiscussion
Get the default interior color of shape annotations.
Declared In
CPDFKitConfig.h
– setShapeAnnotationInteriorColor:
Set the default interior color of shape annotations.
- (void)setShapeAnnotationInteriorColor:(CPDFKitPlatformColor *)shapeAnnotationInteriorColorDiscussion
Set the default interior color of shape annotations.
Declared In
CPDFKitConfig.h
– shapeAnnotationOpacity
Get the default opacity of shape annotations.
- (CGFloat)shapeAnnotationOpacityDiscussion
Get the default opacity of shape annotations.
Declared In
CPDFKitConfig.h
– setShapeAnnotationOpacity:
Set the default opacity of shape annotations.
- (void)setShapeAnnotationOpacity:(CGFloat)shapeAnnotationOpacityDiscussion
Set the default opacity of shape annotations.
Declared In
CPDFKitConfig.h
– shapeAnnotationInteriorOpacity
Get the default interior opacity of shape annotations.
- (CGFloat)shapeAnnotationInteriorOpacityDiscussion
Get the default interior opacity of shape annotations.
Declared In
CPDFKitConfig.h
– setShapeAnnotationInteriorOpacity:
Set the default interior opacity of shape annotations.
- (void)setShapeAnnotationInteriorOpacity:(CGFloat)shapeAnnotationInteriorOpacityDiscussion
Set the default interior opacity of shape annotations.
Declared In
CPDFKitConfig.h
– shapeAnnotationBorderWidth
Get the default border width of shape annotations.
- (CGFloat)shapeAnnotationBorderWidthDiscussion
Get the default border width of shape annotations.
Declared In
CPDFKitConfig.h
– setShapeAnnotationBorderWidth:
Set the default border width of shape annotations.
- (void)setShapeAnnotationBorderWidth:(CGFloat)shapeAnnotationBorderWidthDiscussion
Set the default border width of shape annotations.
Declared In
CPDFKitConfig.h
– freehandAnnotationColor
Get the default color of freehand annotations.
- (CPDFKitPlatformColor *)freehandAnnotationColorDiscussion
Get the default color of freehand annotations.
Declared In
CPDFKitConfig.h
– setFreehandAnnotationColor:
Set the default color of freehand annotations.
- (void)setFreehandAnnotationColor:(CPDFKitPlatformColor *)freehandAnnotationColorDiscussion
Set the default color of freehand annotations.
Declared In
CPDFKitConfig.h
– freehandAnnotationOpacity
Get the default opacity of freehand annotations.
- (CGFloat)freehandAnnotationOpacityDiscussion
Get the default opacity of freehand annotations.
Declared In
CPDFKitConfig.h
– setFreehandAnnotationOpacity:
Set the default opacity of freehand annotations.
- (void)setFreehandAnnotationOpacity:(CGFloat)freehandAnnotationOpacityDiscussion
Set the default opacity of freehand annotations.
Declared In
CPDFKitConfig.h
– freehandAnnotationBorderWidth
Get the default border width of freehand annotations.
- (CGFloat)freehandAnnotationBorderWidthDiscussion
Get the default border width of freehand annotations.
Declared In
CPDFKitConfig.h
– setFreehandAnnotationBorderWidth:
Set the default border width of freehand annotations.
- (void)setFreehandAnnotationBorderWidth:(CGFloat)freehandAnnotationBorderWidthDiscussion
Set the default border width of freehand annotations.
Declared In
CPDFKitConfig.h
– setIsEnableContentEditNotDrawAnnotation:
- (void)setIsEnableContentEditNotDrawAnnotation:(BOOL)isEnableContentEditNotDrawAnnotation– setPDFViewDisplayAccuracy:
Set the display precision of PDFView Default value 1.5
- (void)setPDFViewDisplayAccuracy:(CGFloat)accuracyDiscussion
Set the display precision of PDFView Default value 1.5
Declared In
CPDFKitConfig.h