Click or drag to resize

AnnotationControllerRotateDocument Method (DocumentRotation, Int32)

Rotates the annotations in 90 degree increments.

Namespace:  Atalasoft.Annotate.UI
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public void RotateDocument(
	DocumentRotation rotation,
	int layerIndex
)

Parameters

rotation
Type: Atalasoft.AnnotateDocumentRotation
The amount of rotation.
layerIndex
Type: SystemInt32
The index of the layer to rotate.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException Thrown if the layer index is invalid for the Layers collection.
Remarks
If the annotation has a Translucent property set to true or its CanRotate property set to false, its location will change but it will not rotate.
See Also