VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Annotation.Wpf.UI Namespace / WpfAnnotationViewer Class / RotateImageWithAnnotations Methods / RotateImageWithAnnotations(Single,Color) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    RotateImageWithAnnotations(Single,Color) Method (WpfAnnotationViewer)
    In This Topic
    Rotates the focused image with annotations by a specified angle.
    Syntax
    'Declaration
    
    Public Overloads Sub RotateImageWithAnnotations( _
    ByVal angle
    Rotation angle, in degrees.
    As Single, _
    ByVal borderColor
    Color to fill the border.
    As System.Drawing.Color _
    )
    public void RotateImageWithAnnotations(
    float angle,
    System.Drawing.Color borderColor
    )
    public: void RotateImageWithAnnotations(
    float angle,
    System.Drawing.Color* borderColor
    )
    public:
    void RotateImageWithAnnotations(
    float angle,
    System.Drawing.Color^ borderColor
    )

    Parameters

    angle
    Rotation angle, in degrees.
    borderColor
    Color to fill the border.
    Exceptions
    ExceptionDescription
    Thrown if there is no image to rotate.
    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