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

    Interface CPDFTextAttribute

    CPDFTextAttribute This class is used to represent text attributes, including color, font name, font size, bold and italic, etc.

    CPDFFreeTextAnnotation

    interface CPDFTextAttribute {
        color: string;
        familyName: string;
        styleName: string;
        fontSize: number;
    }
    Index

    Properties

    color: string

    The color of the text in hex format (e.g., '#FF0000' for red).

    familyName: string

    The font family name (e.g., 'Arial', 'Times New Roman').

    styleName: string

    The font style name (e.g., 'Bold', 'Italic').

    fontSize: number

    The size of the font in points.