SetNeedAppearances
Description
Sets the value of the document's "NeedAppearances" key. Setting this to 1 (True) will instruct the PDF viewer to create the appearances for the form fields when the document is loaded. The document must have at least one form field for this function to have any effect.
Syntax
Delphi
function TQuickPDF0815.SetNeedAppearances(NewValue: Integer): Integer;
ActiveX
Function QuickPDF0815.PDFLibrary::SetNeedAppearances(NewValue As Long) As Long
DLL
int QuickPDFSetNeedAppearances(int InstanceID, int NewValue)
Parameters
| NewValue |
0 = Set NeedAppearances to False 1 = Set NeedAppearances to True |
Return values
| 0 | The document does not have any form fields |
| 1 | The NeedAppearances flag was set successfully |