VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Wpf.UI Namespace / WpfImageViewerBase Class / GetCustomViewRotationAngle Methods / GetCustomViewRotationAngle(Int32) Method
Syntax Requirements SeeAlso
In This Topic
    GetCustomViewRotationAngle(Int32) Method (WpfImageViewerBase)
    In This Topic
    Returns the custom rotation angle for single image in image viewer.
    Syntax
    'Declaration
    
    Public Overloads Function GetCustomViewRotationAngle( _
    ByVal imageIndex
    A zero-based index on image in image viewer.
    As System.Int32 _
    ) As System.Int32
    public System.Int32 GetCustomViewRotationAngle(
    System.Int32 imageIndex
    )
    public: System.Int32 GetCustomViewRotationAngle(
    System.Int32 imageIndex
    )
    public:
    System.Int32 GetCustomViewRotationAngle(
    System.Int32 imageIndex
    )

    Parameters

    imageIndex
    A zero-based index on image in image viewer.

    Return Value

    -1 if image does not have the custom rotation angle; 0, 90, 190 or 270 if image has the custom rotation angle.
    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