setDocumentInfo Method |
Sets the document information (author, subject, title, etc) for the current document in the PdfWebControl instance.
function setDocumentInfo(info);
info
Type: PdfDocumentInfo Class a JavaScript object representing the desired document info.Type: Boolean
true if operation completed successfully; otherwise, false.var myApi = new PdfWebControlApi("PdfWebControl1"); // where "PdfWebControl1" is the ID (ClientID) assigned to the PdfWebControl instance myApi.setDocumentInfo({"author" : "Tommy"}); //set author to Tommy