CPDFStampAnnotation Class Reference

Inherits from CPDFAnnotation : NSObject
Declared in CPDFStampAnnotation.h

Overview

A CPDFStampAnnotation object allows you to display a word or phrase in a PDF page.

A CPDFStampAnnotation object should have an appearance stream associated with it; otherwise, nothing useful is rendered.

– initWithDocument:image:

Initializes CPDFStampAnnotation object with image.

- (instancetype)initWithDocument:(CPDFDocument *)document image:(CPDFKitPlatformImage *)image

Discussion

Initializes CPDFStampAnnotation object with image.

Declared In

CPDFStampAnnotation.h

– initWithDocument:type:

Initializes CPDFStampAnnotation object with standard type.

- (instancetype)initWithDocument:(CPDFDocument *)document type:(NSInteger)type

Discussion

Initializes CPDFStampAnnotation object with standard type.

Declared In

CPDFStampAnnotation.h

– initWithDocument:text:detailText:style:shape:

Initializes CPDFStampAnnotation object with text.

- (instancetype)initWithDocument:(CPDFDocument *)document text:(NSString *)text detailText:(NSString *)detailText style:(CPDFStampStyle)style shape:(CPDFStampShape)shape

Discussion

Initializes CPDFStampAnnotation object with text.

Declared In

CPDFStampAnnotation.h

– initWithDocument:text:detailText:dateText:color:

Initializes CPDFStampAnnotation object with digital stamp type.

- (instancetype)initWithDocument:(CPDFDocument *)document text:(NSString *)text detailText:(NSString *)detailText dateText:(NSString *)dateText color:(CPDFKitPlatformColor *)color

Discussion

Initializes CPDFStampAnnotation object with digital stamp type.

Declared In

CPDFStampAnnotation.h

– stampType

Gets the stamp type.

- (CPDFStampType)stampType

Discussion

Gets the stamp type.

See Also

Declared In

CPDFStampAnnotation.h

– stampImage

Gets image for the appearance stream of the stamp annotation.

- (CPDFKitPlatformImage *)stampImage

Discussion

Gets image for the appearance stream of the stamp annotation.

Declared In

CPDFStampAnnotation.h