'Declaration
Public Function Scale( _ ByVal ImageID As Integer, _ ByVal ScalePercent As Single, _ ByVal InterpolationMode As GdPictureInterpolationMode _ ) As GdPictureStatus
public GdPictureStatus Scale( int ImageID, float ScalePercent, GdPictureInterpolationMode InterpolationMode )
public function Scale( ImageID: Integer; ScalePercent: Single; InterpolationMode: GdPictureInterpolationMode ): GdPictureStatus;
public function Scale( ImageID : int, ScalePercent : float, InterpolationMode : GdPictureInterpolationMode ) : GdPictureStatus;
public: GdPictureStatus Scale( int ImageID, float ScalePercent, GdPictureInterpolationMode InterpolationMode )
public: GdPictureStatus Scale( int ImageID, float ScalePercent, GdPictureInterpolationMode 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.