The SetBannerPrintOptions transaction sets options for banners that can be used when printing or faxing documents through the API, or when rasterizing layers through the user interface.
Type XTYP_EXECUTE
Syntax [SetBannerPrintOptions(bannerLocation, fontSize, units, "fontName", "bannerText", writeToINI)]
|
Parameter |
Data type |
Values |
Meaning |
|
bannerLocation |
WORD |
0 | 1 | 2 | |
bottom | top | top left | |
|
fontSize |
float |
font size in units | |
|
units |
WORD |
1 | 2 | 3 | |
centimeters | inches | pixels | |
|
fontName |
Windows font name | ||
|
bannerText |
string |
text for banner, up to 256 bytes. See Remarks. | |
|
writeToINI |
BOOL |
whether options are written to INI file: | |
|
|
|
0 | 1 |
no | yes |
Remarks
You can use variables as part of the banner text, using the following syntax: &[variable]. Most of the variables that you can use are described in the Imagenation Help (Image.hlp):
Banners and Stamps,
Defining a banner, "Banner Variables" link. You can also use the UserID variable. This and other variables can be defined through SetUserAttribute.
Release information
Added in Release 4.10.
See also