CPDFKitConfig Class Reference

Inherits from NSObject
Declared in CPDFKitConfig.h

+ sharedInstance

The shared CPDFKitConfig configuration instance.

+ (instancetype)sharedInstance

Discussion

The shared CPDFKitConfig configuration instance.

Declared In

CPDFKitConfig.h

– cacheSize

Get the cache size.

- (unsigned long long)cacheSize

Discussion

Get the cache size.

Declared In

CPDFKitConfig.h

– clearCache

Clear the cache.

- (void)clearCache

Discussion

Clear the cache.

Declared In

CPDFKitConfig.h

– displayDirection

Get the default view mode of CPDFView. View Mode : Horizontally, Vertically

- (CPDFDisplayDirection)displayDirection

Discussion

Get the default view mode of CPDFView. View Mode : Horizontally, Vertically

Declared In

CPDFKitConfig.h

– setDisplayDirection:

Set the default view mode of CPDFView.

- (void)setDisplayDirection:(CPDFDisplayDirection)displayDirection

Discussion

Set the default view mode of CPDFView.

Declared In

CPDFKitConfig.h

– displayMode

Get the default reading mode of CPDFView. Reading Mode : Night, Soft, Green, Other

- (CPDFDisplayMode)displayMode

Discussion

Get the default reading mode of CPDFView. Reading Mode : Night, Soft, Green, Other

See Also

Declared In

CPDFKitConfig.h

– setDisplayMode:

Set the default reading mode of CPDFView.

- (void)setDisplayMode:(CPDFDisplayMode)displayMode

Discussion

Set the default reading mode of CPDFView.

See Also

Declared In

CPDFKitConfig.h

– displayModeCustomColor

Get a custom background color for the rendered mode of CPDFView.

- (CPDFKitPlatformColor *)displayModeCustomColor

Discussion

Get a custom background color for the rendered mode of CPDFView.

Declared In

CPDFKitConfig.h

– setDisplayModeCustomColor:

Set a custom background color for the rendered mode of CPDFView.

- (void)setDisplayModeCustomColor:(CPDFKitPlatformColor *)displayModeCustomColor

Discussion

Set a custom background color for the rendered mode of CPDFView.

Declared In

CPDFKitConfig.h

– enableLinkFieldHighlight

Get whether to allow to highlight link field in the CPDFView.

- (BOOL)enableLinkFieldHighlight

Discussion

Get whether to allow to highlight link field in the CPDFView.

Declared In

CPDFKitConfig.h

– setEnableLinkFieldHighlight:

Set whether to allow to highlight link field in the CPDFView.

- (void)setEnableLinkFieldHighlight:(BOOL)enableLinkFieldHighlight

Discussion

Set whether to allow to highlight link field in the CPDFView.

Declared In

CPDFKitConfig.h

– enableFormFieldHighlight

Get whether to allow to highlight form field in the CPDFView.

- (BOOL)enableFormFieldHighlight

Discussion

Get whether to allow to highlight form field in the CPDFView.

Declared In

CPDFKitConfig.h

– setEnableFormFieldHighlight:

Set whether to allow to highlight form field in the CPDFView.

- (void)setEnableFormFieldHighlight:(BOOL)enableFormFieldHighlight

Discussion

Set whether to allow to highlight form field in the CPDFView.

Declared In

CPDFKitConfig.h

– enableAnnotationNoRotate

Get whether to allow annotation rotation.

- (BOOL)enableAnnotationNoRotate

Discussion

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)enableAnnotationNoRotate

Discussion

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 *)annotationAuthor

Discussion

Get the default author of annotations.

Declared In

CPDFKitConfig.h

– setAnnotationAuthor:

Set the default author of annotations.

- (void)setAnnotationAuthor:(NSString *)annotationAuthor

Discussion

Set the default author of annotations.

Declared In

CPDFKitConfig.h

– enableFreehandPencilKit

Get whether to allow to add freehand annotation by PencilKit.

- (BOOL)enableFreehandPencilKit

Discussion

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)enableFreehandPencilKit

Discussion

Set whether to allow to add annotation by PencilKit.

Declared In

CPDFKitConfig.h

– highlightAnnotationColor

Get the default color of highlight annotations.

- (CPDFKitPlatformColor *)highlightAnnotationColor

Discussion

Get the default color of highlight annotations.

Declared In

CPDFKitConfig.h

– setHighlightAnnotationColor:

Set the default color of highlight annotations.

- (void)setHighlightAnnotationColor:(CPDFKitPlatformColor *)highlightAnnotationColor

Discussion

Set the default color of highlight annotations.

Declared In

CPDFKitConfig.h

– underlineAnnotationColor

Get the default color of underline annotations.

- (CPDFKitPlatformColor *)underlineAnnotationColor

Discussion

Get the default color of underline annotations.

Declared In

CPDFKitConfig.h

– setUnderlineAnnotationColor:

Set the default color of underline annotations.

- (void)setUnderlineAnnotationColor:(CPDFKitPlatformColor *)underlineAnnotationColor

Discussion

Set the default color of underline annotations.

Declared In

CPDFKitConfig.h

– strikeoutAnnotationColor

Get the default color of strikeout annotations.

- (CPDFKitPlatformColor *)strikeoutAnnotationColor

Discussion

Get the default color of strikeout annotations.

Declared In

CPDFKitConfig.h

– setStrikeoutAnnotationColor:

Set the default color of strikeout annotations.

- (void)setStrikeoutAnnotationColor:(CPDFKitPlatformColor *)strikeoutAnnotationColor

Discussion

Set the default color of strikeout annotations.

Declared In

CPDFKitConfig.h

– squigglyAnnotationColor

Get the default color of squiggly annotations.

- (CPDFKitPlatformColor *)squigglyAnnotationColor

Discussion

Get the default color of squiggly annotations.

Declared In

CPDFKitConfig.h

– setSquigglyAnnotationColor:

Set the default color of squiggly annotations.

- (void)setSquigglyAnnotationColor:(CPDFKitPlatformColor *)squigglyAnnotationColor

Discussion

Set the default color of squiggly annotations.

Declared In

CPDFKitConfig.h

– markupAnnotationOpacity

Get the default opacity of markup annotations.

- (CGFloat)markupAnnotationOpacity

Discussion

Get the default opacity of markup annotations.

Declared In

CPDFKitConfig.h

– setMarkupAnnotationOpacity:

Set the default opacity of markup annotations.

- (void)setMarkupAnnotationOpacity:(CGFloat)markupAnnotationOpacity

Discussion

Set the default opacity of markup annotations.

Declared In

CPDFKitConfig.h

– shapeAnnotationColor

Get the default color of shape annotations.

- (CPDFKitPlatformColor *)shapeAnnotationColor

Discussion

Get the default color of shape annotations.

Declared In

CPDFKitConfig.h

– setShapeAnnotationColor:

Set the default color of shape annotations.

- (void)setShapeAnnotationColor:(CPDFKitPlatformColor *)shapeAnnotationColor

Discussion

Set the default color of shape annotations.

Declared In

CPDFKitConfig.h

– shapeAnnotationInteriorColor

Get the default interior color of shape annotations.

- (CPDFKitPlatformColor *)shapeAnnotationInteriorColor

Discussion

Get the default interior color of shape annotations.

Declared In

CPDFKitConfig.h

– setShapeAnnotationInteriorColor:

Set the default interior color of shape annotations.

- (void)setShapeAnnotationInteriorColor:(CPDFKitPlatformColor *)shapeAnnotationInteriorColor

Discussion

Set the default interior color of shape annotations.

Declared In

CPDFKitConfig.h

– shapeAnnotationOpacity

Get the default opacity of shape annotations.

- (CGFloat)shapeAnnotationOpacity

Discussion

Get the default opacity of shape annotations.

Declared In

CPDFKitConfig.h

– setShapeAnnotationOpacity:

Set the default opacity of shape annotations.

- (void)setShapeAnnotationOpacity:(CGFloat)shapeAnnotationOpacity

Discussion

Set the default opacity of shape annotations.

Declared In

CPDFKitConfig.h

– shapeAnnotationInteriorOpacity

Get the default interior opacity of shape annotations.

- (CGFloat)shapeAnnotationInteriorOpacity

Discussion

Get the default interior opacity of shape annotations.

Declared In

CPDFKitConfig.h

– setShapeAnnotationInteriorOpacity:

Set the default interior opacity of shape annotations.

- (void)setShapeAnnotationInteriorOpacity:(CGFloat)shapeAnnotationInteriorOpacity

Discussion

Set the default interior opacity of shape annotations.

Declared In

CPDFKitConfig.h

– shapeAnnotationBorderWidth

Get the default border width of shape annotations.

- (CGFloat)shapeAnnotationBorderWidth

Discussion

Get the default border width of shape annotations.

Declared In

CPDFKitConfig.h

– setShapeAnnotationBorderWidth:

Set the default border width of shape annotations.

- (void)setShapeAnnotationBorderWidth:(CGFloat)shapeAnnotationBorderWidth

Discussion

Set the default border width of shape annotations.

Declared In

CPDFKitConfig.h

– freehandAnnotationColor

Get the default color of freehand annotations.

- (CPDFKitPlatformColor *)freehandAnnotationColor

Discussion

Get the default color of freehand annotations.

Declared In

CPDFKitConfig.h

– setFreehandAnnotationColor:

Set the default color of freehand annotations.

- (void)setFreehandAnnotationColor:(CPDFKitPlatformColor *)freehandAnnotationColor

Discussion

Set the default color of freehand annotations.

Declared In

CPDFKitConfig.h

– freehandAnnotationOpacity

Get the default opacity of freehand annotations.

- (CGFloat)freehandAnnotationOpacity

Discussion

Get the default opacity of freehand annotations.

Declared In

CPDFKitConfig.h

– setFreehandAnnotationOpacity:

Set the default opacity of freehand annotations.

- (void)setFreehandAnnotationOpacity:(CGFloat)freehandAnnotationOpacity

Discussion

Set the default opacity of freehand annotations.

Declared In

CPDFKitConfig.h

– freehandAnnotationBorderWidth

Get the default border width of freehand annotations.

- (CGFloat)freehandAnnotationBorderWidth

Discussion

Get the default border width of freehand annotations.

Declared In

CPDFKitConfig.h

– setFreehandAnnotationBorderWidth:

Set the default border width of freehand annotations.

- (void)setFreehandAnnotationBorderWidth:(CGFloat)freehandAnnotationBorderWidth

Discussion

Set the default border width of freehand annotations.

Declared In

CPDFKitConfig.h

– isEnableContentEditNotDrawAnnotation

- (BOOL)isEnableContentEditNotDrawAnnotation

– setIsEnableContentEditNotDrawAnnotation:

- (void)setIsEnableContentEditNotDrawAnnotation:(BOOL)isEnableContentEditNotDrawAnnotation