Class FormDesignerToolbarItem
Represents the available tools in the form designer toolbar of the SfPdfViewer2 component.
Inheritance
Namespace: Syncfusion.Blazor.SfPdfViewer
Assembly: Syncfusion.Blazor.SfPdfViewer.dll
Syntax
public sealed class FormDesignerToolbarItem : Enum
Remarks
The FormDesignerToolbarItem enumeration defines the tools that can be displayed in the form designer toolbar for creating and manipulating form fields within the PDF Viewer.
These tools allow users to interactively add or remove form fields such as text boxes, password fields, and list boxes. Use these values to configure the toolbar options based on application requirements.
Examples
The following example demonstrates how to configure the form designer toolbar with specific tools:
List<FormDesignerToolbarItem> toolbarItems = new List<FormDesignerToolbarItem>
{
FormDesignerToolbarItem.TextBox, // Enables the textbox creation tool
FormDesignerToolbarItem.Password, // Enables the password field creation tool
FormDesignerToolbarItem.Delete // Enables the delete tool
};
Fields
Button
Represents the Button tool, which allows adding a button field.
Declaration
public const FormDesignerToolbarItem Button
Field Value
CheckBox
Represents the CheckBox tool, which allows adding a checkbox field.
Declaration
public const FormDesignerToolbarItem CheckBox
Field Value
Delete
Represents the Delete tool, which allows deleting a form field.
Declaration
public const FormDesignerToolbarItem Delete
Field Value
DropDown
Represents the DropDown tool, which allows adding a dropdown field.
Declaration
public const FormDesignerToolbarItem DropDown
Field Value
ListBox
Represents the ListBox tool, which allows adding a list box field.
Declaration
public const FormDesignerToolbarItem ListBox
Field Value
Password
Represents the Password tool, which allows adding a password field.
Declaration
public const FormDesignerToolbarItem Password
Field Value
RadioButton
Represents the RadioButton tool, which allows adding a radio button field.
Declaration
public const FormDesignerToolbarItem RadioButton
Field Value
Signature
Represents the Signature tool, which allows adding a signature field.
Declaration
public const FormDesignerToolbarItem Signature
Field Value
TextBox
Represents the TextBox tool, which allows adding a textbox field.
Declaration
public const FormDesignerToolbarItem TextBox