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

    Interface CPDFContentEditorConfig

    CPDFContentEditorConfig

    interface CPDFContentEditorConfig {
        availableTypes?: string[];
        availableTools?: CPDFConfigTool[];
        initAttribute?: { text?: CPDFEditorTextAttr };
    }
    Index

    Properties

    availableTypes?: string[]

    Content editing mode, the editing mode displayed at the bottom of the view Default order: editorText, editorImage

    availableTools?: CPDFConfigTool[]

    Available tools, including: Setting, Undo, Redo

    initAttribute?: { text?: CPDFEditorTextAttr }

    Type Declaration

    • Optionaltext?: CPDFEditorTextAttr

      When adding text, the text default properties

      HEX color: #1460F3

      text color opacity. value range:0~255

      font size, value range:1~100

      Text alignment, CPDFAlignment.LEFT aligned by default.

      The font family name used by default for text. The default is: "Helvetica".

      The font style name used by default for text. The default is: "Regular".