Resizes the current image according to the algorithm specified by enumResizeType enumerator.
Visual Basic |
---|
Public Sub ResizeEx( _ ByVal eResizeType As enumResizeType, _ ByVal lIPWidth As Long, _ ByVal lIPHeight As Long _ ) |
- eResizeType
An enumResizeType value.Value Description RT_Fast Faster, but slower resampling. The pixels in the image are resampled using a nearest neighbor interpolation algorithm which is fast, but produces a lower quality. RT_PICQuality Slower, but faster resampling. An Accusoft developed algorithm which produces an extremely high quality image, but is slower than the other two methods. RT_Resample The pixels in the image are resampled using a bilinear interpolation algorithm which produces a better quality image, but is slower than RT_Fast. - lIPWidth
The width in pixels to which the current image will be resized.
Valid values are 0 and greater.
- lIPHeight
The height in pixels to which the current image will be resized.
Valid values are 0 and greater.
Replaces Resize, Resample and PICResize properties in earlier versions.