API usagePDF APIApiMethodsGetDocument本页总览GetDocumentAsk a question 使用指定的文本字段属性创建文本字段。 语法 expression.GetDocument(); expression - 表示 Api 类的变量。 参数 此方法没有任何参数。 返回值 ApiDocument 示例 获取文档对象以供进一步使用。 CodeResultPlayground// 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);