TEXTFIELD

typedef struct TEXTFIELD 
{ 
   L_UINT uStructSize; 
   RECT rcBounds; 
   RECT rcFilledAreaBounds; 
   RECT rcSpaceBounds[2]; 
   L_BOOL bIsFilled; 
   L_UINT uFieldType; 
} TEXTFIELD, * pTEXTFIELD; 

Stores characteristics of the Text Field.

Members

L_UINT uStructSize

Size of this structure in bytes, for versioning. Use the sizeof(TEXTFIELD) operator to calculate this value.

RECT rcBounds

The total bounding rectangle for a field.

RECT rcFilledAreaBounds

The bounding rectangle for a filled part of the field (if the field is empty, the rectangle will be { 0,0,0,0 } and bIsFilled will be false).

RECT rcSpaceBounds[2]

Array of two rects for empty spaces in field.

L_BOOL bIsFilled

Boolean flag indicating whether TEXTFIELD is filled. Possible values are:

Value Meaning
TRUE The field is filled (the rcFilledAreaBounds will not be empty).
FALSE The field is not filled.

L_UINT uFieldType

Parameter specifying the type of text field. The following values are possible:

Value Meaning
0 LineField.
1 BoxField.
2 CellField.

Comments

If the text field is empty, then rcFilledAreaBounds is {0,0,0,0}.

If the text field is not filled, then the values of the two rectangles of rcSpaceBounds are {0,0,0,0}.

The first rectangle of rcSpaceBounds is for the empty space, if there is any on the top or the bottom of the filled area. However, if there is no empty space the value of the rectangle is {0,0,0,0}.

The second rectangle of rcSpaceBounds is for the empty space, if there is any on the right side of the filled area. However, if there is no empty space the value of the rectangle is {0,0,0,0}.

Help Version 21.0.2023.2.15
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.