CPDFWidgetAnnotation Class Reference

Inherits from CPDFAnnotation : NSObject
Declared in CPDFWidgetAnnotation.h

Overview

A CPDFWidgetAnnotation object is a collection of fields for gathering information interactively from the user.

  borderColor

Method to get / set the border color used for the form field.

@property (nonatomic, strong) CPDFKitPlatformColor *borderColor

Discussion

Method to get / set the border color used for the form field.

Declared In

CPDFWidgetAnnotation.h

  backgroundColor

Method to ge t/ set the background color used for the form field.

@property (nonatomic, strong) CPDFKitPlatformColor *backgroundColor

Discussion

Method to ge t/ set the background color used for the form field.

Declared In

CPDFWidgetAnnotation.h

– removeBackgroundColor

remove backgroundColor(Set it to transparent, or set SetBackgroundColor: to nil)

- (BOOL)removeBackgroundColor

Discussion

remove backgroundColor(Set it to transparent, or set SetBackgroundColor: to nil)

Declared In

CPDFWidgetAnnotation.h

  backgroundOpacity

@property (nonatomic, assign) CGFloat backgroundOpacity

  cFont

Method to set the font name used for the annotation’s form field.

@property (nonatomic, strong) CPDFFont *cFont

Discussion

Method to set the font name used for the annotation’s form field.

Declared In

CPDFWidgetAnnotation.h

  fontSize

Method to get the font size used for the annotation’s form field.

@property (nonatomic, assign) CGFloat fontSize

Discussion

Method to get the font size used for the annotation’s form field.

Declared In

CPDFWidgetAnnotation.h

  )

Method to get / set the font used for the form field.

@property (nonatomic, strong) CPDFKitPlatformFont *DEPRECATED_MSG_ATTRIBUTE ( "use setCFont:fontSize:" )

Discussion

Method to get / set the font used for the form field.

Declared In

CPDFWidgetAnnotation.h

  fontColor

Method to get / set the font color used for the form field.

@property (nonatomic, strong) CPDFKitPlatformColor *fontColor

Discussion

Method to get / set the font color used for the form field.

Declared In

CPDFWidgetAnnotation.h

– fieldName

Internal name for the field.

- (NSString *)fieldName

Discussion

Internal name for the field.

Declared In

CPDFWidgetAnnotation.h

– setFieldName:

- (void)setFieldName:(NSString *)name

– reset

- (void)reset