Table of Contents

Class PdfStyledField

Namespace
Syncfusion.Pdf.Interactive
Assembly
Syncfusion.Pdf.Portable.dll

Represents form's field with style parameters.

public abstract class PdfStyledField : PdfField, INotifyPropertyChanged
Inheritance
PdfStyledField
Implements
Derived
Inherited Members

Constructors

PdfStyledField(PdfPageBase, string)

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

public PdfStyledField(PdfPageBase page, string name)

Parameters

page PdfPageBase

The page where the field should be placed.

name string

The name.

See Also

Properties

Actions

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

public PdfFieldActions Actions { get; }

Property Value

PdfFieldActions

The actions.

See Also

BackColor

Gets or sets the color of the background.

public PdfColor BackColor { get; set; }

Property Value

PdfColor

The color of the background.

See Also

BorderColor

Gets or sets the color of the border.

public PdfColor BorderColor { get; set; }

Property Value

PdfColor

The color of the border.

See Also

BorderStyle

Gets or sets the border style.

public PdfBorderStyle BorderStyle { get; set; }

Property Value

PdfBorderStyle

The border style.

See Also

BorderWidth

Gets or sets the width of the border.

public float BorderWidth { get; set; }

Property Value

float

The width of the border.

See Also

Bounds

Gets or sets the bounds.

public virtual RectangleF Bounds { get; set; }

Property Value

RectangleF

The bounds.

See Also

Font

Gets or sets the font.

public PdfFont Font { get; set; }

Property Value

PdfFont

The font.

See Also

ForeColor

Gets or sets the color of the text.

public PdfColor ForeColor { get; set; }

Property Value

PdfColor

The color of the text.

See Also

HighlightMode

Gets or sets the highlighting mode.

public PdfHighlightMode HighlightMode { get; set; }

Property Value

PdfHighlightMode

The highlighting mode.

See Also

Location

Gets or sets the location of the field.

public PointF Location { get; set; }

Property Value

PointF

The location.

See Also

RotationAngle

Gets and sets the Rotation angle in the form fields

public int RotationAngle { get; set; }

Property Value

int
See Also

Size

Gets or sets the size of the field.

public SizeF Size { get; set; }

Property Value

SizeF

The size.

See Also

TextAlignment

Gets or sets the text alignment.

public PdfTextAlignment TextAlignment { get; set; }

Property Value

PdfTextAlignment

The text alignment.

Remarks

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

See Also

Visibility

Gets or sets the form field visibility

public PdfFormFieldVisibility Visibility { get; set; }

Property Value

PdfFormFieldVisibility
See Also

Visible

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

public bool Visible { get; set; }

Property Value

bool

true if visible; otherwise, false.

See Also

Methods

DefineDefaultAppearance()

Defines the default appearance.

protected override void DefineDefaultAppearance()
See Also

Initialize()

Initializes an instance.

protected override void Initialize()
See Also

ObtainFont()

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

protected PdfFont ObtainFont()

Returns

PdfFont

font

See Also

See Also