menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PdfViewerTextFieldSettingsBuilder - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class PdfViewerTextFieldSettingsBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    PdfViewerTextFieldSettingsBuilder
    Namespace: Syncfusion.EJ2.PdfViewer
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class PdfViewerTextFieldSettingsBuilder : ControlBuilder

    Constructors

    PdfViewerTextFieldSettingsBuilder()

    Declaration
    public PdfViewerTextFieldSettingsBuilder()

    PdfViewerTextFieldSettingsBuilder(PdfViewerTextFieldSettings)

    Declaration
    public PdfViewerTextFieldSettingsBuilder(PdfViewerTextFieldSettings model)
    Parameters
    Type Name Description
    PdfViewerTextFieldSettings model

    Methods

    Alignment(TextAlignment)

    Get or set the alignment of the text.

    Declaration
    public PdfViewerTextFieldSettingsBuilder Alignment(TextAlignment value)
    Parameters
    Type Name Description
    TextAlignment value
    Returns
    Type
    PdfViewerTextFieldSettingsBuilder

    BackgroundColor(String)

    Get or set the background color of the textbox in hexadecimal string format.

    Declaration
    public PdfViewerTextFieldSettingsBuilder BackgroundColor(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    PdfViewerTextFieldSettingsBuilder

    BorderColor(String)

    Get or set the border color of the textbox field.

    Declaration
    public PdfViewerTextFieldSettingsBuilder BorderColor(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    PdfViewerTextFieldSettingsBuilder

    Bounds(Object)

    Get or set the form field bounds.

    Declaration
    public PdfViewerTextFieldSettingsBuilder Bounds(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    PdfViewerTextFieldSettingsBuilder

    Color(String)

    Get or set the font color of the textbox in hexadecimal string format.

    Declaration
    public PdfViewerTextFieldSettingsBuilder Color(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    PdfViewerTextFieldSettingsBuilder

    CustomData(Object)

    specifies the custom data of the form fields.

    Declaration
    public PdfViewerTextFieldSettingsBuilder CustomData(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    PdfViewerTextFieldSettingsBuilder

    FontFamily(String)

    Get or set the font family of the textbox field.

    Declaration
    public PdfViewerTextFieldSettingsBuilder FontFamily(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    PdfViewerTextFieldSettingsBuilder

    FontSize(Double)

    Get or set the font size of the textbox field.

    Declaration
    public PdfViewerTextFieldSettingsBuilder FontSize(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    PdfViewerTextFieldSettingsBuilder

    FontStyle(FontStyle)

    Get or set the font Style of textbox field.

    Declaration
    public PdfViewerTextFieldSettingsBuilder FontStyle(FontStyle value)
    Parameters
    Type Name Description
    FontStyle value
    Returns
    Type
    PdfViewerTextFieldSettingsBuilder

    IsMultiline(Boolean)

    Allows multiline input in the text field. FALSE, by default.

    Declaration
    public PdfViewerTextFieldSettingsBuilder IsMultiline(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    PdfViewerTextFieldSettingsBuilder

    IsPrint(Boolean)

    Get or set the boolean value to print the textbox field. TRUE by default.

    Declaration
    public PdfViewerTextFieldSettingsBuilder IsPrint(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    PdfViewerTextFieldSettingsBuilder

    IsReadOnly(Boolean)

    Specifies whether the textbox field is in read-only or read-write mode. FALSE by default.

    Declaration
    public PdfViewerTextFieldSettingsBuilder IsReadOnly(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    PdfViewerTextFieldSettingsBuilder

    IsRequired(Boolean)

    If it is set as true, consider as mandatory field in the PDF document. By default it is false.

    Declaration
    public PdfViewerTextFieldSettingsBuilder IsRequired(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    PdfViewerTextFieldSettingsBuilder

    MaxLength(Double)

    Get or set the maximum character length.

    Declaration
    public PdfViewerTextFieldSettingsBuilder MaxLength(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    PdfViewerTextFieldSettingsBuilder

    Name(String)

    Get or set the name of the form field element.

    Declaration
    public PdfViewerTextFieldSettingsBuilder Name(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    PdfViewerTextFieldSettingsBuilder

    PageNumber(Double)

    specifies the page number of the form field.

    Declaration
    public PdfViewerTextFieldSettingsBuilder PageNumber(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    PdfViewerTextFieldSettingsBuilder

    Thickness(Double)

    Get or set the thickness of the textbox field.

    Declaration
    public PdfViewerTextFieldSettingsBuilder Thickness(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    PdfViewerTextFieldSettingsBuilder

    Tooltip(String)

    Get or set the text to be displayed as tooltip. By default it is empty.

    Declaration
    public PdfViewerTextFieldSettingsBuilder Tooltip(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    PdfViewerTextFieldSettingsBuilder

    Value(String)

    Get or set the value of the form field.

    Declaration
    public PdfViewerTextFieldSettingsBuilder Value(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    PdfViewerTextFieldSettingsBuilder

    Visibility(Visibility)

    Gets or set the visibility of the form field.

    Declaration
    public PdfViewerTextFieldSettingsBuilder Visibility(Visibility value)
    Parameters
    Type Name Description
    Visibility value
    Returns
    Type
    PdfViewerTextFieldSettingsBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved