AnnotateViewerRotateDocument Method (DocumentRotation, Int32) |
Rotates the document at the given layer index by the given DocumentRotation.
Rotates the document and its annotations.
Namespace:
Atalasoft.Annotate.UI
Assembly:
Atalasoft.dotImage.WinControls (in Atalasoft.dotImage.WinControls.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntaxpublic void RotateDocument(
DocumentRotation rotation,
int layerIndex
)
Public Sub RotateDocument (
rotation As DocumentRotation,
layerIndex As Integer
)
Parameters
- rotation
- Type: Atalasoft.AnnotateDocumentRotation
The rotation to apply. - layerIndex
- Type: SystemInt32
The index of the layer to rotate.
ExceptionsException | Condition |
---|
| Thrown if hte layerIndex is invalid for the Layers collection. |
Remarks If the annotation is translucent, the location will be changed but the annotation itself will not be
rotated.
Remarks If the annotation is translucent, the location will be changed but the annotation itself will not be
rotated.
See Also