VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Wpf.UI Namespace / WpfImageViewerBase Class / SetCustomViewRotationAngle Methods / SetCustomViewRotationAngle(VintasoftImage,Int32) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    SetCustomViewRotationAngle(VintasoftImage,Int32) Method (WpfImageViewerBase)
    In This Topic
    Sets the custom rotation angle, in degrees, for single image in image viewer.
    Syntax
    'Declaration
    
    Public Overloads Overridable Sub SetCustomViewRotationAngle( _
    ByVal image
    An image.
    As Vintasoft.Imaging.VintasoftImage, _
    ByVal rotationAngle
    The rotation angle, in degrees, for image in image viewer. Valid values are 0, 90, 180, 270.
    As System.Int32 _
    )
    public virtual void SetCustomViewRotationAngle(
    Vintasoft.Imaging.VintasoftImage image,
    System.Int32 rotationAngle
    )
    public: virtual void SetCustomViewRotationAngle(
    Vintasoft.Imaging.VintasoftImage* image,
    System.Int32 rotationAngle
    )
    public:
    virtual void SetCustomViewRotationAngle(
    Vintasoft.Imaging.VintasoftImage^ image,
    System.Int32 rotationAngle
    )

    Parameters

    image
    An image.
    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