The SetStampFont transaction sets the font used for stamps. The same font is used for all stamps.
Type XTYP_EXECUTE
Syntax [SetStampFont(objectID, stampID, "fontName", fontSize, units, rgbColor)]
|
Parameter |
Data type |
Values |
Meaning |
|
objectID |
DWORD |
-1 |
Imagenation |
|
stampID |
DWORD |
0 |
all stamps (currently the only available option) |
|
fontName |
"" text string |
current font Windows-defined name of the font | |
|
fontSize |
float |
0 value |
current size new size of the font |
|
units |
WORD |
0 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 13 |
current units inches | cm | pixels | feet | mm | m | points | twips | percentage of image size. See Remarks. |
|
rgbColor |
WORD |
-1 |
current color new color of stamp text |
Remarks
Using this transaction causes any displayed stamps to be regenerated with the new font.
If using 13 (percentage) as the units, the maximum fontSize value allowed is 20.
This transaction is identical to the old SetWatermarkFont. Its name has simply been changed for consistency with the standard Imagenation user interface. SetWatermarkFont will continue to work in existing integrations.
Release information
Added in Release 5.10.
See also