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

Syntax

CopyJavaScript
function getKey();

Parameters

None

Return Value

Type: String

Returns the document key this PdfWebControl instance is using.

Examples

CopyJavaScript
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