Click or drag to resize

PdfWebControlApi Methods

The PdfWebControlApi Class exposes the following methods.

Methods
NameDescription
addEventListener MethodAttach an event listener to PdfWebControl.
append MethodAppend additional PDF (or other supported data) to the end of the PdfWebControl document.
download MethodDownload PdfWebControl document.
getCustomData MethodGets the custom data for the current document in the PdfWebControl instance.
getDocumentInfo MethodGets the document info (author, subject, title, etc) for the document loaded into the PdfWebControl instance.
getDocumentSecurity MethodGets the document security information (user password, etc) for the current document in the PdfWebControl instance.
getDpi MethodGets a value representing the document DPI (dots per inch) as set by RenderDpi for the current document in the PdfWebControl instance.
getField MethodGets the first PDF form field object in the loaded PdfWebControl document with a given name.
getFields MethodGets an array of PDF form field objects in the loaded PdfWebControl document with a given name (or all).
getHasUnsavedChanges MethodGet a value representing whether the PdfWebControl document contains unsaved changes.
getKey MethodGet the document key of PdfWebControl.
getPage MethodGet the specified page of the PdfWebControl document.
getPageCount MethodGet the number of pages in the PdfWebControl document.
getPageViewed MethodGet the currently viewed page in the PdfWebControl document.
getView MethodGet the current view state of the PdfWebControl.
print MethodShow print dialog for PdfWebControl document.
redo MethodRedo the last action undone by the user in the loaded document.
refresh MethodRefresh the PdfWebControl viewer.
restorePages MethodRestore original page locations in PdfWebControl document.
save MethodSave PdfWebControl contents.
saveAndWait MethodSave PdfWebControl contents and wait for completion.
searchText MethodSearch PDF text.
setCustomData MethodSets the custom data for the current document in the PdfWebControl instance.
setDocumentInfo MethodSets the document information (author, subject, title, etc) for the current document in the PdfWebControl instance.
setDocumentSecurity MethodSets the document security settings (user password, etc) for the current document in the PdfWebControl instance.
setMode MethodSet the current client mode for the PdfWebControl.
setView MethodSet PdfWebControl document's current view state (e.g. goto page, zoom to, etc).
showInformationDialog MethodShow the document information dialog for the loaded document.
showSecurityDialog MethodShow the document security settings dialog for the loaded document.
undo MethodUndo the last action taken by the user in the loaded document.
unselectAll MethodUnselect all selected objects in the loaded document.
validateForm MethodCheck that all required form fields are completed in the loaded document.
See Also

Other Resources