TX Text Control .NET for WPF

Bounds Property

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

Description

Gets or sets the rectangle bounds of the form field in the document.

Syntax

public Rectangle Bounds { get; set; }

Examples

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

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