New to Telerik Document Processing? Start a free 30-day trial

Form

Class

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

Definition

Namespace:Telerik.Documents.Fixed.Model.Objects

Assembly:Telerik.Windows.Documents.Fixed.dll

Syntax:

C#
public class Form : PositionContentElement, IFixedDocumentElement

Inheritance: objectFixedDocumentElementBaseContentElementBasePositionContentElementForm

Implements: IFixedDocumentElement

Inherited Members PositionContentElement.PositionContentElementBase.ClippingFixedDocumentElementBase.Parent

Constructors

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

C#
public Form()

Properties

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

C#
public double? AlphaConstant { get; set; }
Property Value:

The alpha constant.

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

C#
public FormSource FormSource { get; set; }
Property Value:

The form source.

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

C#
public double Height { get; set; }
Property Value:

The height.

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

C#
public double? StrokeAlphaConstant { get; set; }
Property Value:

The stroke alpha constant.

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

C#
public double Width { get; set; }
Property Value:

The width.

Methods

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

C#
public Form Clone()
Returns:

Form

Creates the cloned instance.

C#
protected override T CreateClonedInstance<T>() where T : PositionContentElement
Returns:

T

The cloned instance.

Overrides: PositionContentElement.CreateClonedInstance<T>()