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

Resizes a GdPicture image with custom height keeping the original aspect ratio for the new width value.

C#
public GdPictureStatus ResizeHeightRatio(
    int ImageID, 
    int NewImageHeight, 
    InterpolationMode InterpolationMode
);
Visual Basic
Public Function ResizeHeightRatio(
    ByVal ImageID As Integer, 
    ByVal NewImageHeight As Integer, 
    ByVal InterpolationMode As InterpolationMode
) As GdPictureStatus
Parameters
Parameters 
Description 
ImageID 
GdPicture Image Identifier.  
NewImageHeight 
The new height of the image in pixel.  
InterpolationMode 
A member of the Drawing2D.InterPolationMode enumeration.  
Returns

A member of the GdPictureStatus enumeration.

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