Click or drag to resize

FieldRefreshAppearance Method

Regenerates the appearance stream for the Widget Annotation containing variable text. Call this method if you modified field's value and would like to update field's appearance.

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public void RefreshAppearance()
Remarks
If this field contains text, and has been added to a rotated page, the text in the field may be rotated. If RefreshAppearance is called *after* the field is added to a rotated page, then any text will be rotated in the opposite direction of the page rotation. If this method is called *before* the field is added to any rotated page, then no counter rotation will be applied. If you wish to call RefreshAppearance on a field already added to a rotated page, but you don't want the text to be rotated, you can do one of the following; temporarily un-rotate the page, or, temporarily remove the "P" object from the field.
See Also