Reference Guide
GdPicture14 Namespace / GdPictureImaging Class / RotateAnglePreserveDimensionsCenterBackColor Method
GdPicture image identifier.
Angle of rotation in degrees.
Color of the background. A suitable color value can be obtained by using the ARGB() method.





In This Topic
    RotateAnglePreserveDimensionsCenterBackColor Method
    In This Topic
    Rotates clockwise a GdPicture by a specific angle from the center with custom back color keeping the originals width and height of the picture.
    Syntax
    'Declaration
     
    
    Public Function RotateAnglePreserveDimensionsCenterBackColor( _
       ByVal ImageID As Integer, _
       ByVal Angle As Single, _
       ByVal BackColor As Color _
    ) As GdPictureStatus
    public GdPictureStatus RotateAnglePreserveDimensionsCenterBackColor( 
       int ImageID,
       float Angle,
       Color BackColor
    )
    public function RotateAnglePreserveDimensionsCenterBackColor( 
        ImageID: Integer;
        Angle: Single;
        BackColor: Color
    ): GdPictureStatus; 
    public function RotateAnglePreserveDimensionsCenterBackColor( 
       ImageID : int,
       Angle : float,
       BackColor : Color
    ) : GdPictureStatus;
    public: GdPictureStatus RotateAnglePreserveDimensionsCenterBackColor( 
       int ImageID,
       float Angle,
       Color BackColor
    ) 
    public:
    GdPictureStatus RotateAnglePreserveDimensionsCenterBackColor( 
       int ImageID,
       float Angle,
       Color BackColor
    ) 

    Parameters

    ImageID
    GdPicture image identifier.
    Angle
    Angle of rotation in degrees.
    BackColor
    Color of the background. A suitable color value can be obtained by using the ARGB() method.

    Return Value

    A member of the GdPictureStatus enumeration.
    See Also