LEADTOOLS OCR C DLL Help > Quick Reference > Data Types > OCR Plus > PARAGRAPHOPTIONS |
typedef struct _tagParagraphOptions
{
L_UINT uStructSize;
SELECTOR SelSpaceBefore;
L_INT nSpaceBefore;
SELECTOR SelParaIndent;
L_INT nFirstLineIndent;
SELECTOR SelLineSpacing;
LINESPACING LineSpacing;
SELECTOR SelAlignment;
ALIGNMENT Alignment;
} PARAGRAPHOPTIONS, * pPARAGRAPHOPTIONS;
The PARAGRAPHOPTIONS structure contains Paragraph properties for the final output document.
Member |
Description |
uStructSize |
Specifies the structure size. It should be equal to sizeof(PARAGRAPHOPTIONS). |
SelSpaceBefore |
Value that indicates whether the extra space before a paragraph is exported, and if so, is it calculated or predefined. For a list of possible values, refer to SELECTOR. |
nSpaceBefore |
Value that represents the number of spaces before a paragraph that are exported. This value is used (i.e. exported) only if the SelSpaceBefore member is SEL_PREDEFINED. This value is measured in Twips. |
SelParaIndent |
Value that indicates whether an indented first line of a paragraph will be exported, and if so, is the indentation size calculated or predefined. For a list of possible values, refer to SELECTOR. |
nFirstLineIndent |
Value that represents the length of the indentation of the first line of a paragraph, that will be exported. This value is measured in Twips, and it is used (i.e. exported) only if the SelParaIndent handling switch is SEL_PREDEFINED. |
SelLineSpacing |
Value that indicates whether the line spacing is exported, and if so, is it calculated or predefined. For a list of possible values, refer to SELECTOR. |
LineSpacing |
Value that represents the line spacing to be exported. This value is used (i.e. exported) only if the SelLineSpacing member is SEL_PREDEFINED. For a list of possible values, refer to SELECTOR. |
SelAlignment |
Value that indicates whether the alignment will be exported, and if so, is the alignment calculated or predefined. |
Alignment |
Value that represents the alignment to be exported. This value is used (i.e. exported) only if the Alignment member is SEL_PREDEFINED. |
Comments
pPARAGRAPHOPTIONS is a pointer to a PARAGRAPHOPTIONS structure. Where the function parameter type is pPARAGRAPHOPTIONS, declare a PARAGRAPHOPTIONS variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pPARAGRAPHOPTIONS variable is necessary only if the program requires a pointer.
This structure is used with the following functions:
L_DocSetRecognitionResultOptions
L_DocGetRecognitionResultOptions
This structure is used with RESULTOPTIONS structure.