VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.UI Namespace / ImageViewerBase Class / SetCustomViewRotationAngle Methods / SetCustomViewRotationAngle(Int32,Int32) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
SetCustomViewRotationAngle(Int32,Int32) Method (ImageViewerBase)
In This Topic
Sets the custom rotation angle, in degrees, for single image in image viewer.
Syntax
'Declaration

Public Overloads Sub SetCustomViewRotationAngle( _
ByVal imageIndex
A zero-based index of image in image viewer.
As System.Int32, _
ByVal rotationAngle
The rotation angle, in degrees, for image in image viewer. Valid values are 0, 90, 180, 270.
As System.Int32 _
)
public void SetCustomViewRotationAngle(
System.Int32 imageIndex,
System.Int32 rotationAngle
)

Parameters

imageIndex
A zero-based index of image in image viewer.
rotationAngle
The rotation angle, in degrees, for image in image viewer. Valid values are 0, 90, 180, 270.
Exceptions
ExceptionDescription
Throw if value is invalid.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also