You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > Resizing and Rotating > RotateAnglePreserveDimensionsBackColor Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.RotateAnglePreserveDimensionsBackColor Method

Rotates a GdPicture image with a specific angle and specific back color keeping the originals width and height of the picture.

C#
public GdPictureStatus RotateAnglePreserveDimensionsBackColor(
    int ImageID, 
    Single Angle, 
    Color BackColor
);
Visual Basic
Public Function RotateAnglePreserveDimensionsBackColor(
    ByVal ImageID As Integer, 
    ByVal Angle As Single, 
    ByVal BackColor As Color
) As GdPictureStatus
Parameters
Parameters 
Description 
ImageID 
GdPicture Image Identifier.  
Angle 
Angle of rotation in degrees.  
BackColor 
Color Object. You can build a Color Object using the ARGB() function. Color of the background.  
Returns

A member of the GdPictureStatus enumeration.

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.