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

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

C#
public GdPictureStatus RotateAnglePreserveDimensionsCenterBackColor(
    int ImageID, 
    Single Angle, 
    Color BackColor
);
Visual Basic
Public Function RotateAnglePreserveDimensionsCenterBackColor(
    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.