GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureImaging Class / RotateAnglePreserveDimensionsBackColor 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
RotateAnglePreserveDimensionsBackColor Method (GdPictureImaging)
In This Topic
Rotates clockwise a GdPicture by a specific angle and specific back color keeping the originals width and height of the picture.
Syntax
'Declaration
 
Public Function RotateAnglePreserveDimensionsBackColor( _
   ByVal ImageID As Integer, _
   ByVal Angle As Single, _
   ByVal BackColor As GdPictureColor _
) As GdPictureStatus
public GdPictureStatus RotateAnglePreserveDimensionsBackColor( 
   int ImageID,
   float Angle,
   GdPictureColor BackColor
)
public function RotateAnglePreserveDimensionsBackColor( 
    ImageID: Integer;
    Angle: Single;
    BackColor: GdPictureColor
): GdPictureStatus; 
public function RotateAnglePreserveDimensionsBackColor( 
   ImageID : int,
   Angle : float,
   BackColor : GdPictureColor
) : GdPictureStatus;
public: GdPictureStatus RotateAnglePreserveDimensionsBackColor( 
   int ImageID,
   float Angle,
   GdPictureColor BackColor
) 
public:
GdPictureStatus RotateAnglePreserveDimensionsBackColor( 
   int ImageID,
   float Angle,
   GdPictureColor 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.
Remarks

This method requires the Image Documents component to run.

See Also