activePDF Toolkit 2011 API Reference
CommentFont
Technical Reference > Barcode Object > Barcode Methods > CommentFont

Glossary Item Box

Description:

DEPRECATED. Use PrintText instead.

Sets the font and font style used for your comment text specified in the Comment property.

NOTE: CommentFont must be called prior to the Comment property.

Syntax: object.CommentFont FontName,fontSize,tBold,tItalic,tUnderline,tStrikethru, tCharset
Arguments: Argument Value Type Description & Settings
object N/A Set to an instance of the object.
FontName String The name of the font.
fontSize Short The font size.
tBold Variant_Bool True = The comment text will be bold.

False = The comment text weight will be normal. (Default)
tUnderline Variant_Bool True = The comment text will be underlined.

False = The comment text will not be underlined.(Default)
tStrikethru Variant_Bool True = The comment text will be struck through.

False = The comment text will not be struck through.(Default)
tCharset Short Default = 1
Remarks: By default, Toolkit generates the comment text in accordance with the barcode standards. If you are using the barcode for commercial purposes, we recommend that you do not change the comment font.