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 *)imageDiscussion
Initializes CPDFStampAnnotation object with image.
Declared In
CPDFStampAnnotation.h
– initWithDocument:type:
Initializes CPDFStampAnnotation object with standard type.
- (instancetype)initWithDocument:(CPDFDocument *)document type:(NSInteger)typeDiscussion
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)shapeDiscussion
Initializes CPDFStampAnnotation object with text.
See Also
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 *)colorDiscussion
Initializes CPDFStampAnnotation object with digital stamp type.
Declared In
CPDFStampAnnotation.h
– stampType
Gets the stamp type.
- (CPDFStampType)stampTypeDiscussion
Gets the stamp type.
See Also
Declared In
CPDFStampAnnotation.h
– stampImage
Gets image for the appearance stream of the stamp annotation.
- (CPDFKitPlatformImage *)stampImageDiscussion
Gets image for the appearance stream of the stamp annotation.
Declared In
CPDFStampAnnotation.h
– setSaveRectRotationPoints:
Method to get / set the all rect vertex points after rotation.
- (void)setSaveRectRotationPoints:(NSArray<NSValue*> *)saveRectRotationPointsDiscussion
Method to get / set the all rect vertex points after rotation.
Vertex points of the current page.
Declared In
CPDFStampAnnotation.h
– setSaveSourceRect:
Method to get / set the rect befer rotation.
- (void)setSaveSourceRect:(CGRect)saveSourceRectDiscussion
Method to get / set the rect befer rotation.
rect of the current page.
Declared In
CPDFStampAnnotation.h
annotationRotation
Sets the rotation angle for the annotation in degrees.
@property (nonatomic, assign) NSInteger annotationRotationDiscussion
Sets the rotation angle for the annotation in degrees.
Rotation on a annotation. Must be -180 ~ 180.
Declared In
CPDFStampAnnotation.h