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

    Interface CPDFCheckBoxAttr

    Attributes for a checkbox widget used in PDF forms.

    Controls appearance and default state of a checkbox control.

    interface CPDFCheckBoxAttr {
        fillColor?: `#${string}`;
        borderColor?: `#${string}`;
        borderWidth?: BorderWidth;
        checkedColor?: `#${string}`;
        isChecked?: boolean;
        checkedStyle?: string;
        type: "checkBox";
    }

    Hierarchy

    • CPDFBaseCheckAttr
      • CPDFCheckBoxAttr
    Index

    Properties

    fillColor?: `#${string}`

    Background fill color of the checkbox box.

    borderColor?: `#${string}`

    Border color of the checkbox box.

    borderWidth?: BorderWidth

    Border width of the checkbox box.

    checkedColor?: `#${string}`

    Color used to draw the check mark when selected.

    isChecked?: boolean

    Default checked state.

    checkedStyle?: string

    Visual style of the check mark (e.g., check, circle).

    type: "checkBox"