GetDocument
Creates a text field with the specified text field properties.
Syntax
expression.GetDocument();
expression - A variable that represents a Api class.
Parameters
This method doesn't have any parameters.
Returns
Example
Get the document object for further use.
// How to get the document in a PDF document?
// Get the document using the PDF document API.
let doc = Api.GetDocument();
let page = doc.AddPage(1);
page.SetRotation(90);