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

    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