VintaSoft Imaging .NET SDK 14.1: Documentation for .NET developer
Vintasoft.Imaging.Wpf.UI Namespace / WpfImageViewerBase Class / SetCustomViewRotationAngle Methods / SetCustomViewRotationAngle(Int32,Int32) Method
Syntax Exceptions Requirements SeeAlso
    SetCustomViewRotationAngle(Int32,Int32) Method (WpfImageViewerBase)
    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 _
    )
     

    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: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also