Rotation Property

Definition

Namespace Broadside
Assembly Broadside.dll

Gets or sets the number of degrees the page is rotated clockwise when displayed or printed: 0, 90, 180 or 270. Inheritable.

public int Rotation { get; set; }

Returns

Remarks

ISO 32000-2 §7.7.3.3, Table 31 (PDF 1.0). The entry shall be a multiple of 90; it is normalized into 0 to 270 (−90 reads as 270, 450 as 90). A value that is not a multiple of 90 reads as 0.

Setting writes the page's own Rotate, normalized into 0 to 270, which overrides an inherited one (§7.7.3.4); setting 0 when no ancestor gives a rotation removes the entry instead. A mutation: no read may run concurrently with it.