Field Rect Property. The location and size of the field. ABCpdf .NET PDF Library.

ABCpdf .net

 
  

 

TypeDefault ValueRead OnlyDescription
[C#] XRect

[Visual Basic]
XRect
See description. NoThe location and size of the field.

Throws Exceptions may throw NullReferenceException()

Throws Exceptions may throw ArgumentOutOfRangeException()

 

  

Notes
 

This property reflects the position and area of the field on the page.

This property is only valid if the fields has one single visible appearance on the page. If you are unsure whether your field will always map to one visible appearance it is better to call GetAnnotations and work with the Annotation.Rect of each of the items in the array. If there is only one item in the array then this indicates that the field has one one single visible appearance on the page.

The most common case in which a field does not have a single visible appearance is in the case of radio buttons. In this case the field describes the radio button group and the children of the field are the visible buttons. Be aware that it is possible to spread radio buttons across more than one page.

This rectangle will be empty if the field does not have one single visible appearance on the page.

This property must always have a value. Attempting to assign a null value to this property will result in a NullReferenceException being thrown.

If this field has no visible appearance, attempting to assign a value will result in an ArgumentOutOfRangeException being thrown.

 

  

Example
 

None.