SetAdjustedWidth

Specifies the width of the imprinted text.

Syntax

bool SetAdjustedWidth (StrParam)

Parameters

Numeric value for a length adjustment of the string to be imprinted. Smart parameters are supported.

Returns

False if the parameter is not numeric. Otherwise, True.

Level

Page level only.

Details

This actions adjusts the maximum width of the imprinted text. It is possible that the calculation of the string length may not allow for the entire string in the specified font and point size. This is an adjustment factor which will lengthen the area for the string to imprint on the image.

This action is optional. If the action is not used, the adjusted width will default to 30. If your text is being cut off, increase the parameter value. If you use this action it must be called prior to the AnnotateImage action.

Example:
SetFontName("Arial")
SetFontSize("10")
SetAdjustedWidth("100")
AnnotateImage("@BATCHID+ Page:+@ID","0","0")