Click or drag to resize

AnnotationControllerRotateDocument Method (DocumentRotation, LayerAnnotation)

Rotates the specified layer.

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,
	LayerAnnotation layer
)

Parameters

rotation
Type: Atalasoft.AnnotateDocumentRotation
The amount of rotation.
layer
Type: Atalasoft.Annotate.UILayerAnnotation
The layer to rotate.
Exceptions
ExceptionCondition
Thrown if the layer is null (Nothing in VB).
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