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
)
Public Sub RotateDocument (
rotation As DocumentRotation,
layerIndex As Integer
)
Parameters
- rotation
- Type: Atalasoft.AnnotateDocumentRotation
The amount of rotation. - layerIndex
- Type: SystemInt32
The index of the layer to rotate.
Exceptions 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