UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PdfStyledField

    Show / Hide Table of Contents

    Class PdfStyledField

    Represents form's field with style parameters.

    Inheritance
    System.Object
    PdfField
    PdfStyledField
    PdfAppearanceField
    PdfCheckFieldBase
    Implements
    IPdfWrapper
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    PdfField.GetValue(String)
    PdfField.SetValue(String, String)
    PdfField.Name
    PdfField.Form
    PdfField.MappingName
    PdfField.Export
    PdfField.ReadOnly
    PdfField.Required
    PdfField.ToolTip
    PdfField.Page
    PdfField.Flatten
    PdfField.DisableAutoFormat
    PdfField.PdfTag
    PdfField.TabIndex
    PdfField.Layer
    PdfField.IPdfWrapper.Element
    PdfField.PropertyChanged
    Namespace: Syncfusion.Pdf.Interactive
    Assembly: Syncfusion.Pdf.UWP.dll
    Syntax
    public abstract class PdfStyledField : PdfField, IPdfWrapper, INotifyPropertyChanged

    Constructors

    PdfStyledField(PdfPageBase, String)

    Initializes a new instance of the PdfStyledField class with the specific page and name.

    Declaration
    public PdfStyledField(PdfPageBase page, string name)
    Parameters
    Type Name Description
    PdfPageBase page

    The page where the field should be placed.

    System.String name

    The name.

    Properties

    Actions

    Gets the actions of the field.[Read-Only]

    Declaration
    public PdfFieldActions Actions { get; }
    Property Value
    Type Description
    PdfFieldActions

    The actions.

    BackColor

    Gets or sets the color of the background.

    Declaration
    public PdfColor BackColor { get; set; }
    Property Value
    Type Description
    PdfColor

    The color of the background.

    BorderColor

    Gets or sets the color of the border.

    Declaration
    public PdfColor BorderColor { get; set; }
    Property Value
    Type Description
    PdfColor

    The color of the border.

    BorderStyle

    Gets or sets the border style.

    Declaration
    public PdfBorderStyle BorderStyle { get; set; }
    Property Value
    Type Description
    PdfBorderStyle

    The border style.

    BorderWidth

    Gets or sets the width of the border.

    Declaration
    public float BorderWidth { get; set; }
    Property Value
    Type Description
    System.Single

    The width of the border.

    Bounds

    Gets or sets the bounds.

    Declaration
    public virtual RectangleF Bounds { get; set; }
    Property Value
    Type Description
    System.Drawing.RectangleF

    The bounds.

    Font

    Gets or sets the font.

    Declaration
    public PdfFont Font { get; set; }
    Property Value
    Type Description
    PdfFont

    The font.

    ForeColor

    Gets or sets the color of the text.

    Declaration
    public PdfColor ForeColor { get; set; }
    Property Value
    Type Description
    PdfColor

    The color of the text.

    HighlightMode

    Gets or sets the highlighting mode.

    Declaration
    public PdfHighlightMode HighlightMode { get; set; }
    Property Value
    Type Description
    PdfHighlightMode

    The highlighting mode.

    Location

    Gets or sets the location of the field.

    Declaration
    public PointF Location { get; set; }
    Property Value
    Type Description
    System.Drawing.PointF

    The location.

    RotationAngle

    Gets and sets the Rotation angle in the form fields

    Declaration
    public int RotationAngle { get; set; }
    Property Value
    Type Description
    System.Int32

    Size

    Gets or sets the size of the field.

    Declaration
    public SizeF Size { get; set; }
    Property Value
    Type Description
    System.Drawing.SizeF

    The size.

    TextAlignment

    Gets or sets the text alignment.

    Declaration
    public PdfTextAlignment TextAlignment { get; set; }
    Property Value
    Type Description
    PdfTextAlignment

    The text alignment.

    Remarks

    This property is meaningful for fields containing variable text only. (i.e. PdfTextBoxField, PdfListBoxField and PdfComboBoxField).

    Visibility

    Gets or sets the form field visibility

    Declaration
    public PdfFormFieldVisibility Visibility { get; set; }
    Property Value
    Type Description
    PdfFormFieldVisibility

    Visible

    Gets or sets a value indicating whether this PdfStyledField is visible.

    Declaration
    public bool Visible { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if visible; otherwise, false.

    Methods

    DefineDefaultAppearance()

    Defines the default appearance.

    Declaration
    protected override void DefineDefaultAppearance()
    Overrides
    PdfField.DefineDefaultAppearance()

    Initialize()

    Initializes an instance.

    Declaration
    protected override void Initialize()
    Overrides
    PdfField.Initialize()

    ObtainFont()

    Gets the font. If font is undefined default font will be used.

    Declaration
    protected PdfFont ObtainFont()
    Returns
    Type Description
    PdfFont

    font

    Implements

    IPdfWrapper
    System.ComponentModel.INotifyPropertyChanged

    Extension Methods

    DateTimeExtension.ToDateTime(Object)

    See Also

    PdfField
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved