Click or drag to resize

WpfAnnotationCanvasRotateDocument Method (DocumentRotation, Int32)

Rotates the annotations in 90 degree increments for the specified layer index.

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 rotation amount.
layerIndex
Type: SystemInt32
The index of the layer to rotate.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThrown if the index is invalid for the layer collection.
See Also