Click or drag to resize

AtalaAnnotationViewerRotateDocument Method (DocumentRotation, Int32)

Rotates the document at the given layer index 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,
	int layerIndex
)

Parameters

rotation
Type: Atalasoft.AnnotateDocumentRotation
The amount of rotation.
layerIndex
Type: SystemInt32
The index of the layer in the layer collection to rotate.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThrown if the layerIndex argument is invalid for the layer collection.
See Also