PTFreeTextAnnotationOptions
@interface PTFreeTextAnnotationOptions : PTAnnotationOptions
An object that contains options for FreeText annotations.
-
- The default font to use for new FreeText annotations. This
- string must be specified using the PostscriptFile name, e.g.
- “CourierNewPS-BoldItalicMT”. These names can be retrieved as
- follows: *
NSArray *fontFamilyNames = [UIFont familyNames]; for (NSString *familyName in fontFamilyNames) { NSLog(@"Font Family Name = %@", familyName); NSArray *names = [UIFont fontNamesForFamilyName:familyName]; NSLog(@" Font Names = %@", names); }
*
Declaration
Objective-C
@property (nonatomic, copy, readwrite) PT_UNAVAILABLE_MSG("Set default free text font with +[PTColorDefaults " "setDefaultFreeTextFontName:]") NSString *defaultFontName;
-
Whether the
PTFreeTextInputAccessoryView
is enabled when creating or editing free text annotations. The default value of this property isYES
.Declaration
Objective-C
@property (nonatomic, assign, unsafe_unretained, readwrite) BOOL inputAccessoryViewEnabled;
Swift
var inputAccessoryViewEnabled: Bool { get set }