PTSpacingTextCreate


@interface PTSpacingTextCreate : PTFreeTextCreate <PTAnnotEditToolDelegate>

Creates spacing text annotations.

  • Returns the number of columns of the spacing text annotation.

    Declaration

    Objective-C

    + (int)numOfColumns:(nonnull NSAttributedString *)text;

    Swift

    class func num(ofColumns text: NSAttributedString) -> Int32

    Parameters

    text

    the NSAttributedString of the annotation

  • Returns the number of rows of the spacing text annotation.

    Declaration

    Objective-C

    + (int)numOfRows:(nonnull NSAttributedString *)text;

    Swift

    class func num(ofRows text: NSAttributedString) -> Int32

    Parameters

    text

    the NSAttributedString of the annotation