ComPDF React Native - v3.0.0
    Preparing search index...

    Interface CPDFFreeTextAttr

    Attribute configuration for free text annotations.

    Controls text appearance, font, and alignment.

    interface CPDFFreeTextAttr {
        type: "freetext";
        fontColor?: `#${string}`;
        fontColorAlpha?: ColorAlpha;
        fontSize?: FontSize;
        alignment?: CPDFAlignment;
        familyName?: string;
        styleName?: string;
    }
    Index

    Properties

    type: "freetext"

    Read-only discriminator for runtime type checks.

    fontColor?: `#${string}`

    Text color in HEX format (e.g. #1460F3).

    fontColorAlpha?: ColorAlpha

    Text opacity. Valid range: 0–255.

    fontSize?: FontSize

    Font size. Valid range: 1–100.

    alignment?: CPDFAlignment

    Text alignment. Default is CPDFAlignment.LEFT.

    familyName?: string

    Font family name. Default is "Helvetica".

    styleName?: string

    Font style name. Default is "Regular".