Some test text!
Xamarin / Guides
Interactive creation and editing for form fields such as text fields, checkboxes, radio buttons, dropdowns, signatures, etc. is supported by the Apryse Android SDK.
By default, creating and editing form fields in the drop-in components DocumentActivity and PdfViewCtrlTabHostFragment2 are automatically enabled unless disabled using ToolManagerBuilder
. You can learn more about configuring ToolManager here .
TextFieldCreate
tool is responsible for making TextWidget
.
CheckboxFieldCreate
tool is responsible for making CheckBoxWidget
.
RadioGroupFieldCreate
tool is responsible for making RadioButtonWidget
.
ListBoxFieldCreate
tool is responsible for making ListBoxWidget
.
ComboBoxFieldCreate
tool is responsible for making ComboBoxWidget
.
SignatureFieldCreate
tool is responsible for making SignatureWidget
.
You can disable form field creation using the ToolManagerBuilder
class and disabling the relevant ToolMode
:
// Create a custom ToolManager with disabled form field creation
ToolManager.ToolMode[] toolModes = {
ToolMode.FormCheckboxCreate,
ToolMode.FormSignatureCreate,
ToolMode.FormTextFieldCreate,
ToolMode.FormRadioGroupCreate,
ToolMode.FormComboBoxCreate,
ToolMode.FormListBoxCreate
};
var tmBuilder = ToolManagerBuilder.From()
.DisableToolModes(toolModes);
// Add ToolManagerBuilder to your ViewerConfig
var config = new ViewerConfig.Builder()
.FullscreenModeEnabled(true)
.MultiTabEnabled(true)
// ...
.ToolManagerBuilder(tmBuilder)
.Build();
Get the answers you need: Chat with us