You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > Resizing and Rotating > GetResizedGdPictureImage Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.GetResizedGdPictureImage Method

Creates a resized GdPicture image from a GdPicture Image.

C#
public int GetResizedGdPictureImage(
    int ImageID, 
    int NewImageWidth, 
    int NewImageHeight, 
    InterpolationMode InterpolationMode
);
Visual Basic
Public Function GetResizedGdPictureImage(
    ByVal ImageID As Integer, 
    ByVal NewImageWidth As Integer, 
    ByVal NewImageHeight As Integer, 
    ByVal InterpolationMode As InterpolationMode
) As Integer
Parameters
Parameters 
Description 
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.  
Returns

0: Failure. Use the GetStat() function to determine the reason this function failed. 

Non-zero: GdPicture Image Identifier. The created image.

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.