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

    Interface CPDFPushButtonAttr

    Attributes for a push button widget used in PDF forms.

    Controls appearance and label of the button.

    interface CPDFPushButtonAttr {
        type: "pushButton";
        fillColor?: `#${string}`;
        borderColor?: `#${string}`;
        borderWidth?: BorderWidth;
        fontColor?: `#${string}`;
        fontSize?: FontSize;
        title?: string;
        familyName?: string;
        styleName?: string;
    }
    Index

    Properties

    type: "pushButton"
    fillColor?: `#${string}`

    Background fill color of the button.

    borderColor?: `#${string}`

    Border color of the button.

    borderWidth?: BorderWidth

    Border width of the button.

    fontColor?: `#${string}`

    Font color for the button title.

    fontSize?: FontSize

    Font size for the button title.

    title?: string

    Default button title text.

    familyName?: string

    Optional font family name for the title.

    styleName?: string

    Optional text style name for the title.