CPDFFreeTextAnnotation Class Reference
| Inherits from | CPDFAnnotation : NSObject |
|---|---|
| Declared in | CPDFFreeTextAnnotation.h |
Overview
A CPDFFreeTextAnnotation object displays text on a page.
The CPDFAnnotation class’s contents and setContents: methods let you get and set the textual content for a CPDFFreeTextAnnotation object.
)
Method to get the font used for the annotation’s text field. Set freetext after manually updateAppearanceStream
@property (nonatomic, strong) CPDFKitPlatformFont *DEPRECATED_MSG_ATTRIBUTE ( "use setCFont: and setFontSize:" )Discussion
Method to get the font used for the annotation’s text field. Set freetext after manually updateAppearanceStream
Declared In
CPDFFreeTextAnnotation.h
cFont
Method to set the font name used for the annotation’s text field. Set freetext after manually updateAppearanceStream
@property (nonatomic, strong) CPDFFont *cFontDiscussion
Method to set the font name used for the annotation’s text field. Set freetext after manually updateAppearanceStream
Declared In
CPDFFreeTextAnnotation.h
fontSize
Method to get the font size used for the annotation’s text field. Set freetext after manually updateAppearanceStream
@property (nonatomic, assign) CGFloat fontSizeDiscussion
Method to get the font size used for the annotation’s text field. Set freetext after manually updateAppearanceStream
Declared In
CPDFFreeTextAnnotation.h
fontColor
Method to get / set the font color used in the text field of the annotation. Set freetext after manually updateAppearanceStream
@property (nonatomic, strong) CPDFKitPlatformColor *fontColorDiscussion
Method to get / set the font color used in the text field of the annotation. Set freetext after manually updateAppearanceStream
Declared In
CPDFFreeTextAnnotation.h
alignment
Method to get / set the horizontal alignment of text within the bounds of the annotation.
@property (nonatomic, assign) NSTextAlignment alignmentDiscussion
Method to get / set the horizontal alignment of text within the bounds of the annotation.
Supported values are NSLeftTextAlignment, NSRightTextAlignment, and NSCenterTextAlignment. Set freetext after manually updateAppearanceStream
Declared In
CPDFFreeTextAnnotation.h
borderColor
Method to get / set the border color used for the form field. Set freetext after manually updateAppearanceStream
@property (nonatomic, strong) CPDFKitPlatformColor *borderColorDiscussion
Method to get / set the border color used for the form field. Set freetext after manually updateAppearanceStream
Declared In
CPDFFreeTextAnnotation.h