Resizes a GdPicture image image, keeping the same aspect ratio. The image is scaled by a percentage value.
public GdPictureStatus Scale( int ImageID, Single ScalePercent, InterpolationMode InterpolationMode );
Public Function Scale( ByVal ImageID As Integer, ByVal ScalePercent As Single, ByVal InterpolationMode As InterpolationMode ) As GdPictureStatus
|
Parameters |
Description |
|
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. |
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.
|