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
GdPicture14 Namespace / GdPictureImaging Class / RotateAnglePreserveDimensionsBackColor Method

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 Color _

) As GdPictureStatus
public GdPictureStatus RotateAnglePreserveDimensionsBackColor( 

   int ImageID,

   float Angle,

   Color BackColor

)
public function RotateAnglePreserveDimensionsBackColor( 

    ImageID: Integer;

    Angle: Single;

    BackColor: Color

): GdPictureStatus; 
public function RotateAnglePreserveDimensionsBackColor( 

   ImageID : int,

   Angle : float,

   BackColor : Color

) : GdPictureStatus;
public: GdPictureStatus RotateAnglePreserveDimensionsBackColor( 

   int ImageID,

   float Angle,

   Color BackColor

) 
public:

GdPictureStatus RotateAnglePreserveDimensionsBackColor( 

   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.
Remarks

This method requires the Image Documents component to run.

See Also