'Declaration
Public Function Scale( _ ByVal ImageID As Integer, _ ByVal ScalePercent As Single, _ ByVal InterpolationMode As InterpolationMode _ ) As GdPictureStatus
public GdPictureStatus Scale( int ImageID, float ScalePercent, InterpolationMode InterpolationMode )
public function Scale( ImageID: Integer; ScalePercent: Single; InterpolationMode: InterpolationMode ): GdPictureStatus;
public function Scale( ImageID : int, ScalePercent : float, InterpolationMode : InterpolationMode ) : GdPictureStatus;
public: GdPictureStatus Scale( int ImageID, float ScalePercent, InterpolationMode InterpolationMode )
public: GdPictureStatus Scale( int ImageID, float ScalePercent, InterpolationMode InterpolationMode )
Parameters
- ImageID
- GdPicture image identifier.
- ScalePercent
- Scale percentage value. ie: if ScalePercent = 50, the image is reduced to half size.
- InterpolationMode
- A member of the Drawing2D.InterPolationMode enumeration.
Return Value
A member of the GdPictureStatus enumeration.