7.11. Comment Property

Description

Returns or sets a string for the comment to be printed around the barcode symbol.

Remarks

In addition to the human readable, which always reflects the encoded data and conforms to the standard requirements, you can optionally place a paragraph of text beside the barcode image.

You may adjust margins around the comment, place the comment on the top or bottom, modify the font typeface as well as the size, and change how the text is aligned.

Control characters are not printed.

Note

It is now possible to enter multiple paragraphs in the comment by inserting \n at the end of each paragraph (except the last one). For example, the string First paragraph\nSecond Paragraph renders two paragraphs, as illustrated below:

See Also

Section 7.13, “CommentFont Property”

Section 7.12, “CommentAlignment Property”

Section 7.25, “ShowComment Property”

Section 7.15, “CommentOnTop Property”

Section 7.14, “CommentMarginTop, CommentMarginBottom, CommentMarginLeft, CommentMarginRight Properties”