Click or drag to resize

AtalaAnnotationViewerRotateDocument Method (DocumentRotation, WpfLayerAnnotation)

Rotates the specified LayerAnnotation by the given DocumentRotation.

Namespace:  Atalasoft.Annotate.Wpf
Assembly:  Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public void RotateDocument(
	DocumentRotation rotation,
	WpfLayerAnnotation layer
)

Parameters

rotation
Type: Atalasoft.AnnotateDocumentRotation
The amount of rotation.
layer
Type: Atalasoft.Annotate.WpfWpfLayerAnnotation
The layer to rotate.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if the layer argument is null (Nothing in VB).
See Also