OptionalbackgroundBackground color of the context menu. Only support HEX color format, e.g. #1460F3 Only supported on Android platform.
OptionalfontFont size of the context menu text. defalut value: 14 dp
OptionalpaddingPadding of the context menu. Order: [left, top, right, bottom] Only supported on Android platform.
OptionaliconIcon size of the context menu. defalut value: 36 dp
OptionalglobalOptionalscreenshot?: CPDFContextMenuItem<GlobalMenuKey>[]Context menu for using the screenshot feature.
OptionalviewOptionaltextSelect?: CPDFContextMenuItem<ViewTextSelectKey>[]Menu options when long-pressing selected text in viewer mode.
OptionalannotationContext menu configuration in annotation mode.
OptionaltextSelect?: CPDFContextMenuItem<AnnotationTextSelectKey>[]Menu options shown when long-pressing selected text in annotation mode.
OptionallongPressContent?: CPDFContextMenuItem<LongPressContentKey>[]Menu options shown when long-pressing a blank area in the PDF document.
OptionalmarkupContent?: CPDFContextMenuItem<MarkupContentKey>[]Menu options shown when selecting markup annotations in annotation mode.
OptionalsoundContent?: CPDFContextMenuItem<SoundContentKey>[]Menu options shown for sound annotations in annotation mode.
OptionalinkContent?: CPDFContextMenuItem<InkContentKey>[]Menu options shown for ink annotations in annotation mode.
OptionalshapeContent?: CPDFContextMenuItem<ShapeContentKey>[]Menu options shown for shape annotations in annotation mode. Includes: rectangle, circle, line, and arrow annotations.
OptionalfreeTextContent?: CPDFContextMenuItem<FreeTextContentKey>[]Menu options shown for free text annotations in annotation mode.
OptionalsignStampContent?: CPDFContextMenuItem<SignStampContentKey>[]Menu options shown for signature stamp annotations in annotation mode. Includes: sign, delete, and rotate.
OptionalstampContent?: CPDFContextMenuItem<StampContentKey>[]Menu options shown for stamp annotations in annotation mode.
OptionallinkContent?: CPDFContextMenuItem<LinkContentKey>[]Menu options shown for link annotations in annotation mode.
OptionalcontentContext menu configuration in content editor mode.
OptionaleditTextAreaContent?: CPDFContextMenuItem<EditTextAreaContentKey>[]this is the menu options shown when clicking on a text area in content editor mode.
OptionaleditSelectTextContent?: CPDFContextMenuItem<EditSelectTextContentKey>[]This is the menu options shown when the text area enters edit mode and text is selected.
OptionaleditTextContent?: CPDFContextMenuItem<EditTextContentKey>[]This is the menu options shown when clicking anywhere in the text area edit state.
OptionalimageAreaContent?: CPDFContextMenuItem<ImageAreaContentKey>[]This is the menu options shown when clicking on an image in content editor mode.
OptionalimageCropMode?: CPDFContextMenuItem<ImageCropModeKey>[]this is the menu options shown when the image enters crop mode.
OptionaleditPathContent?: CPDFContextMenuItem<"delete">[]This is the menu options shown when clicking on a path in content editor mode.
OptionallongPressWithEditTextMode?: CPDFContextMenuItem<LongPressWithEditTextModeKey>[]Content Editing Mode: Menu options when you long press on a blank area of a PDF in text editing mode.
OptionallongPressWithEditImageMode?: CPDFContextMenuItem<LongPressWithEditImageModeKey>[]Content Editing Mode: Menu options when you long press on the blank area of the PDF in the Edit Image mode.
OptionallongPressWithAllMode?: CPDFContextMenuItem<LongPressWithAllModeKey>[]In content editing mode, long press the blank area of the PDF to select the menu option.
OptionalsearchReplace?: CPDFContextMenuItem<"replace">[]In content editing mode, when performing text search and replacement, a menu option pops up after selecting the searched text.
OptionalformOptionaltextField?: CPDFContextMenuItem<FormPropertiesDeleteKey>[]Form mode, menu options that pop up after the text field form is selected.
OptionalcheckBox?: CPDFContextMenuItem<FormPropertiesDeleteKey>[]Form mode, menu options that pop up after the checkbox form is selected.
OptionalradioButton?: CPDFContextMenuItem<FormPropertiesDeleteKey>[]Form mode, menu options that pop up after the radio button form is selected.
OptionallistBox?: CPDFContextMenuItem<FormOptionsPropertiesDeleteKey>[]Form mode, menu options that pop up after the list box form is selected.
OptionalcomboBox?: CPDFContextMenuItem<FormOptionsPropertiesDeleteKey>[]Form mode, menu options that pop up after the combo box form is selected.
OptionalpushButton?: CPDFContextMenuItem<FormOptionsPropertiesDeleteKey>[]Form mode, menu options that pop up after the push button form is selected.
OptionalsignatureField?: CPDFContextMenuItem<SignatureFieldKey>[]Form mode, menu options that pop up after the signature field form is selected.
Context menu configuration interface. Used to customize long-press menu options in different modes. For example, selecting a highlight annotation in annotation mode, or long-pressing a blank area in text editing mode.