Click or drag to resize

AnnotateViewer.RotateDocument Method (DocumentRotation, LayerAnnotation)

Rotates the specified LayerAnnotation by the given DocumentRotation

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)
Syntax
public void RotateDocument(
	DocumentRotation rotation,
	LayerAnnotation layer
)

Parameters

rotation
Type: Atalasoft.Annotate.DocumentRotation
The rotation to apply.
layer
Type: Atalasoft.Annotate.UI.LayerAnnotation
The layer to rotate.
Exceptions
ExceptionCondition
Thrown if the layer is null (Nothing in VB).
Remarks
If the annotation is translucent, the location will be changed but the annotation itself will not be rotated.
See Also