Click or drag to resize

getKey Method

Get the document key of the document currently open in this PdfWebControl instance.

Syntax
JavaScript
function getKey();

Parameters

None

Return Value

Type: String

Returns the document key this PdfWebControl instance is using.

Examples
JavaScript
var myApi = new PdfWebControlApi("PdfWebControl1"); // where "PdfWebControl1" is the ID (ClientID) assigned to the PdfWebControl instance
window.alert("My Document Key Is: " + myApi.getKey());
See Also