CPDFRedactAnnotation Class Reference

Inherits from CPDFAnnotation : NSObject
Declared in CPDFRedactAnnotation.h

Overview

Redaction annotations are used to remove content from a document.

  drawRedactionsAsRedacted

@property (nonatomic, assign) BOOL drawRedactionsAsRedacted

– quadrilateralPoints

Gets the areas that should be covered by the redaction annotation.

- (NSArray *)quadrilateralPoints

Discussion

Gets the areas that should be covered by the redaction annotation.

Declared In

CPDFRedactAnnotation.h

– setQuadrilateralPoints:

Uses the quadrilateral points property to set the areas that should be covered by the redaction annotation.

- (void)setQuadrilateralPoints:(NSArray *)points

Discussion

Uses the quadrilateral points property to set the areas that should be covered by the redaction annotation.

Declared In

CPDFRedactAnnotation.h

– interiorColor

Gets the fill color displayed in the specified area after applying the redaction. The color is drawn on the specified rect. Defaults to black.

- (CPDFKitPlatformColor *)interiorColor

Discussion

Gets the fill color displayed in the specified area after applying the redaction. The color is drawn on the specified rect. Defaults to black.

Declared In

CPDFRedactAnnotation.h

– setInteriorColor:

Sets the fill color displayed in the specified area after applying the redaction. The color is drawn on the specified rect. Defaults to black.

- (void)setInteriorColor:(CPDFKitPlatformColor *)color

Discussion

Sets the fill color displayed in the specified area after applying the redaction. The color is drawn on the specified rect. Defaults to black.

Declared In

CPDFRedactAnnotation.h

– borderColor

Gets the color used for the redaction’s border in its marked state. Defaults to red.

- (CPDFKitPlatformColor *)borderColor

Discussion

Gets the color used for the redaction’s border in its marked state. Defaults to red.

Declared In

CPDFRedactAnnotation.h

– setBorderColor:

Sets the color used for the redaction’s border in its marked state. Defaults to red.

- (void)setBorderColor:(CPDFKitPlatformColor *)color

Discussion

Sets the color used for the redaction’s border in its marked state. Defaults to red.

Declared In

CPDFRedactAnnotation.h

– font

Gets the text font displayed in the specified area after applying the redaction.

- (CPDFKitPlatformFont *)font

Discussion

Gets the text font displayed in the specified area after applying the redaction.

Declared In

CPDFRedactAnnotation.h

– setFont:

Sets the text font displayed in the specified area after applying the redaction.

- (void)setFont:(CPDFKitPlatformFont *)font

Discussion

Sets the text font displayed in the specified area after applying the redaction.

Declared In

CPDFRedactAnnotation.h

– fontColor

Gets the text color displayed in the specified area after applying the redaction.

- (CPDFKitPlatformColor *)fontColor

Discussion

Gets the text color displayed in the specified area after applying the redaction.

Declared In

CPDFRedactAnnotation.h

– setFontColor:

Sets the text color displayed in the specified area after applying the redaction.

- (void)setFontColor:(CPDFKitPlatformColor *)fontColor

Discussion

Sets the text color displayed in the specified area after applying the redaction.

Declared In

CPDFRedactAnnotation.h

– alignment

Gets the text alignment displayed in the specified area after applying the redaction.

- (NSTextAlignment)alignment

Discussion

Gets the text alignment displayed in the specified area after applying the redaction.

Declared In

CPDFRedactAnnotation.h

– setAlignment:

Sets the text alignment displayed in the specified area after applying the redaction.

- (void)setAlignment:(NSTextAlignment)alignment

Discussion

Sets the text alignment displayed in the specified area after applying the redaction.

Declared In

CPDFRedactAnnotation.h

– overlayText

Gets the text displayed in the specified area after applying the redaction.

- (NSString *)overlayText

Discussion

Gets the text displayed in the specified area after applying the redaction.

Declared In

CPDFRedactAnnotation.h

– setOverlayText:

Sets the text displayed in the specified area after applying the redaction.

- (void)setOverlayText:(NSString *)text

Discussion

Sets the text displayed in the specified area after applying the redaction.

Declared In

CPDFRedactAnnotation.h

– applyRedaction

Applies redaction annotation.

- (void)applyRedaction

Discussion

Applies redaction annotation.

Declared In

CPDFRedactAnnotation.h