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 (readwrite, copy, nonatomic) NSString *_Nonnull defaultFontName;