menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class PdfViewerFreeTextSettingsBuilder

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

    Constructors

    PdfViewerFreeTextSettingsBuilder()

    Declaration
    public PdfViewerFreeTextSettingsBuilder()

    PdfViewerFreeTextSettingsBuilder(PdfViewerFreeTextSettings)

    Declaration
    public PdfViewerFreeTextSettingsBuilder(PdfViewerFreeTextSettings model)
    Parameters
    Type Name Description
    PdfViewerFreeTextSettings model

    Methods

    AllowedInteractions(Object)

    Gets or sets the allowed interactions for the locked free text annotations. IsLock can be configured using free text settings.

    Declaration
    public PdfViewerFreeTextSettingsBuilder AllowedInteractions(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    PdfViewerFreeTextSettingsBuilder

    AllowEditTextOnly(Boolean)

    specifies the allow text only action of the free text annotation.

    Declaration
    public PdfViewerFreeTextSettingsBuilder AllowEditTextOnly(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    PdfViewerFreeTextSettingsBuilder

    AnnotationSelectorSettings(Object)

    specifies the annotation selector settings of the annotation.

    Declaration
    public PdfViewerFreeTextSettingsBuilder AnnotationSelectorSettings(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    PdfViewerFreeTextSettingsBuilder

    Author(String)

    specifies the author of the annotation.

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

    BorderColor(String)

    specifies the border color of the annotation.

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

    BorderStyle(String)

    specifies the border style of the annotation.

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

    BorderWidth(Double)

    specifies the border with of the annotation.

    Declaration
    public PdfViewerFreeTextSettingsBuilder BorderWidth(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    PdfViewerFreeTextSettingsBuilder

    CustomData(Object)

    specifies the custom data of the annotation.

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

    DefaultText(String)

    setting the default text for annotation.

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

    EnableAutoFit(Boolean)

    Enable or disable auto fit mode for FreeText annotation in the Pdfviewer. FALSE by default.

    Declaration
    public PdfViewerFreeTextSettingsBuilder EnableAutoFit(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    PdfViewerFreeTextSettingsBuilder

    FillColor(String)

    specifies the background fill color of the annotation.

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

    FontColor(String)

    specifies the text box font color of the annotation.

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

    FontFamily(String)

    specifies the text box font family of the annotation.

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

    FontSize(Double)

    specifies the text box font size of the annotation.

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

    FontStyle(FontStyle)

    applying the font styles for the text.

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

    Height(Double)

    specifies the height of the annotation.

    Declaration
    public PdfViewerFreeTextSettingsBuilder Height(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    PdfViewerFreeTextSettingsBuilder

    IsLock(Boolean)

    specifies the locked action of the annotation.

    Declaration
    public PdfViewerFreeTextSettingsBuilder IsLock(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    PdfViewerFreeTextSettingsBuilder

    IsPrint(Boolean)

    specifies whether the individual annotations are included or not in print actions.

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

    IsReadonly(Boolean)

    Allow to edit the FreeText annotation. FALSE, by default.

    Declaration
    public PdfViewerFreeTextSettingsBuilder IsReadonly(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    PdfViewerFreeTextSettingsBuilder

    MaxHeight(Double)

    specifies the minHeight of the annotation.

    Declaration
    public PdfViewerFreeTextSettingsBuilder MaxHeight(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    PdfViewerFreeTextSettingsBuilder

    MaxWidth(Double)

    specifies the maxWidth of the annotation.

    Declaration
    public PdfViewerFreeTextSettingsBuilder MaxWidth(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    PdfViewerFreeTextSettingsBuilder

    MinHeight(Double)

    specifies the minHeight of the annotation.

    Declaration
    public PdfViewerFreeTextSettingsBuilder MinHeight(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    PdfViewerFreeTextSettingsBuilder

    MinWidth(Double)

    specifies the minWidth of the annotation.

    Declaration
    public PdfViewerFreeTextSettingsBuilder MinWidth(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    PdfViewerFreeTextSettingsBuilder

    Offset(Object)

    Get or set offset of the annotation.

    Declaration
    public PdfViewerFreeTextSettingsBuilder Offset(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    PdfViewerFreeTextSettingsBuilder

    Opacity(Double)

    specifies the opacity of the annotation.

    Declaration
    public PdfViewerFreeTextSettingsBuilder Opacity(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    PdfViewerFreeTextSettingsBuilder

    PageNumber(Double)

    Get or set page number of the annotation.

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

    Subject(String)

    specifies the subject of the annotation.

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

    TextAlignment(TextAlignment)

    Aligning the text in the annotation.

    Declaration
    public PdfViewerFreeTextSettingsBuilder TextAlignment(TextAlignment value)
    Parameters
    Type Name Description
    TextAlignment value
    Returns
    Type
    PdfViewerFreeTextSettingsBuilder

    Width(Double)

    specifies the width of the annotation.

    Declaration
    public PdfViewerFreeTextSettingsBuilder Width(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    PdfViewerFreeTextSettingsBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved