'Declaration
Public Function GetResizedGdPictureImage( _ ByVal ImageID As Integer, _ ByVal NewImageWidth As Integer, _ ByVal NewImageHeight As Integer, _ ByVal InterpolationMode As InterpolationMode _ ) As Integer
public int GetResizedGdPictureImage( int ImageID, int NewImageWidth, int NewImageHeight, InterpolationMode InterpolationMode )
public function GetResizedGdPictureImage( ImageID: Integer; NewImageWidth: Integer; NewImageHeight: Integer; InterpolationMode: InterpolationMode ): Integer;
public function GetResizedGdPictureImage( ImageID : int, NewImageWidth : int, NewImageHeight : int, InterpolationMode : InterpolationMode ) : int;
public: int GetResizedGdPictureImage( int ImageID, int NewImageWidth, int NewImageHeight, InterpolationMode InterpolationMode )
public: int GetResizedGdPictureImage( int ImageID, int NewImageWidth, int NewImageHeight, InterpolationMode InterpolationMode )
Parameters
- ImageID
- GdPicture image identifier. The image to release.
- NewImageWidth
- New image width in pixel.
- NewImageHeight
- New image height in pixel.
- InterpolationMode
- A member of the Drawing2D.InterPolationMode enumeration.
Return Value
- 0: Failure. Use the GetStat() method to determine the reason this method failed.
- Non-zero: GdPicture image identifier. The created image. The ReleaseGdPictureImage() method must be subsequently used to release the image from the memory.