Click or drag to resize

CharacterGetSpaceInfo Method

This method returns information about a space filling character.

Namespace:  Kofax.OmniPageCSDK.IproPlus
Assembly:  Kofax.OmniPageCSDK.IproPlus (in Kofax.OmniPageCSDK.IproPlus.dll) Version: 1.0.0.0
Syntax
public void GetSpaceInfo(
	out int Count,
	out int Type
)

Parameters

Count
Type: SystemInt32
Type
Type: SystemInt32
Remarks

Even if there are multiple spaces estimated to follow each other, they are represented with a single Character object.

The Count parameter always returns the number of spaces represented by this object and the Type parameter describes the nature of the space filling as described below:

Type Value Meaningful Name Meaning
0 SPC_SPACE Real space character(s).
1 SPC_TAB Tab character(s).
2 SPC_LEADERDOT Dot leader(s), for example: dots in a table of contents between the text and the page number.
3 SPC_LEADERLINE Line leader, for example: a line in a table of contents between the text and the page number.
4 SPC_LEADERHYPHEN Hyphen leader(s), for example: hyphens, in a table of contents between the text and the page number.

If this object does not describe one of the mentioned space filler characters, both the Count and Type parameters return zero (0).

See Also