TX Text Control .NET for WPF

Bounds Property

Property|Introduced in 15.0
Namespace
TXTextControl.DocumentServer.Fields
Package
TXTextControl.TextControl.WPF.SDK as TXDocumentServer.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets and sets the bounds of the form field. The rectangle's location and the size are specified in twips.

Syntax

public Rectangle Bounds { get; set; }

Examples

The following example uses FormFieldAdapter.Bounds to configure bounds as part of the form field adapter workflow. The configured value is checked before the workflow continues.

formFieldAdapter.Bounds = new System.Drawing.Rectangle(20, 20, 600, 400);
Console.WriteLine($"Bounds used by Form Field Adapter: {formFieldAdapter.Bounds}");