跳到主要内容

SetRotation

Sets page rotation angle

Syntax

expression.SetRotation(nAngle);

expression - A variable that represents a ApiPage class.

Parameters

NameRequired/OptionalData typeDefaultDescription
nAngleRequirednumberNo description provided.

Returns

boolean

Example

This example sets rotate for first page in document.

let doc = Api.GetDocument();
let page = doc.GetPage(0);
page.SetRotation(90);