VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Wpf.UI Namespace / WpfImageViewerBase Class / GetCustomViewRotationAngle Methods / GetCustomViewRotationAngle(VintasoftImage) Method
Syntax Requirements SeeAlso
In This Topic
    GetCustomViewRotationAngle(VintasoftImage) Method (WpfImageViewerBase)
    In This Topic
    Returns the custom rotation angle for single image in image viewer.
    Syntax
    'Declaration
    
    Public Overloads Overridable Function GetCustomViewRotationAngle( _
    ByVal image
    An image.
    As Vintasoft.Imaging.VintasoftImage _
    ) As System.Int32
    public virtual System.Int32 GetCustomViewRotationAngle(
    Vintasoft.Imaging.VintasoftImage image
    )
    public: virtual System.Int32 GetCustomViewRotationAngle(
    Vintasoft.Imaging.VintasoftImage* image
    )
    public:
    virtual System.Int32 GetCustomViewRotationAngle(
    Vintasoft.Imaging.VintasoftImage^ image
    )

    Parameters

    image
    An image.

    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