Do you own a Debenu Quick PDF Library 12/11/10/9/8/7? Upgrade to Debenu Quick PDF Library 13!

Foxit Quick PDF Library

Frequently Asked Question:

Return to FAQ Index

Get Field Info in Visual Basic 6

Question

I need to get the Character Limit of a field and the Font Size of the field. I have been trying each field property but these two I cannot find. Actually, I will need to set them also. However, I assume the set is the opposite of get.

Thank you.

Answer

The GetFormFieldMaxLen function will retrieve the maximum allowed length for a text form field in characters (i.e. the character limit for the specified text field). You can set the character limit using the SetFormFieldMaxLen function.

The GetFormFieldTextSize function will help you to retrieve the font size. If the value it returns is zero then this indicates that the form field auto-sizes the text to fit into the available space. You can set the text size for a form field using the SetFormFieldTextSize function.


© 2015 Debenu & Foxit. All rights reserved. AboutBuyContactBlogNewsletterSupportFAQProduct UpdatesForum