VpeGetCharCount

<< Click to Display Table of Contents >>

Navigation:  FormFields >

VpeGetCharCount

Previous pageReturn to chapter overviewNext page

Returns the maximum number of characters that can be displayed in a FormField. This value equals the number of character cells drawn in a FormField.

[Interactive Edition only:]

If the value of CharCount is negative, an Interactive FormField is painted without dividers as if CharCount was zero, but the absolute value of CharCount specifies the maximum number of characters, which may be entered by the user.
e.g. CharCount = -15 would mean, that a user may only enter up to 15 characters into the Interactive FormField.

int  VpeGetCharCount(

VpeHandle hDoc

)

VpeHandle hDoc

Document Handle or VPE Object Handle

Returns:

the character count

 

See Also:

"FormFields" in the Programmer's Manual