Bounds Property
- Namespace
TXTextControl.DocumentServer. Fields
- Package
TXTextControl.asTextControl. Core. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXDocumentServer.dll
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; }Public Property Bounds As RectangleExamples
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}");formFieldAdapter.Bounds = New System.Drawing.Rectangle(20, 20, 600, 400)
Console.WriteLine($"Bounds used by Form Field Adapter: {formFieldAdapter.Bounds}")