Class
Form

Form XObject element that reuses shared PDF content via a referenced FormSource for efficient templating and repeated drawing.

Definition

Namespace:Telerik.Windows.Documents.Fixed.Model.Objects

Assembly:Telerik.Windows.Documents.Fixed.dll

Syntax:

cs-api-definition
public class Form : PositionContentElement, IFixedDocumentElement

Inheritance: objectFixedDocumentElementBaseContentElementBasePositionContentElementForm

Implements: IFixedDocumentElement

Inherited Members PositionContentElement.PositionContentElementBase.ClippingFixedDocumentElementBase.Parent

Constructors

Form()

Initializes a form XObject container that draws reusable PDF content defined by a shared FormSource.

Declaration

cs-api-definition
public Form()

Properties

AlphaConstant

Gets or sets the constant opacity applied to non‑stroking paint operations.

Declaration

cs-api-definition
public double? AlphaConstant { get; set; }

Property Value

double?

The alpha constant.

FormSource

Gets or sets the reusable content definition backing this form instance.

Declaration

cs-api-definition
public FormSource FormSource { get; set; }

Property Value

FormSource

The form source.

Height

Gets or sets the displayed height overriding the source's height when specified.

Declaration

cs-api-definition
public double Height { get; set; }

Property Value

double

The height.

StrokeAlphaConstant

Gets or sets the constant opacity applied to stroking (outline) operations.

Declaration

cs-api-definition
public double? StrokeAlphaConstant { get; set; }

Property Value

double?

The stroke alpha constant.

Width

Gets or sets the displayed width overriding the source's width when specified.

Declaration

cs-api-definition
public double Width { get; set; }

Property Value

double

The width.

Methods

Clone()

Creates and returns a deep copy of this form including dimension overrides and its referenced source.

Declaration

cs-api-definition
public Form Clone()

Returns

Form

CreateClonedInstance<T>()

Creates the cloned instance.

Declaration

cs-api-definition
protected override T CreateClonedInstance<T>() where T : PositionContentElement

Returns

T

The cloned instance.

Overrides PositionContentElement.CreateClonedInstance<T>()