DioDocs for PDF
Resize メソッド (GcBitmap)

GrapeCity.Documents.Imaging アセンブリ > GrapeCity.Documents.Imaging 名前空間 > GcBitmap クラス : Resize メソッド
The width of the resized image, in pixels.
The height of the resized image, in pixels.
The interpolation mode to use when scaling.
Clipping rectangle specifying the area of the source image to be processed.
Creates a new GcBitmap with a resized image fragment.
シンタックス
'宣言
 
Public Function Resize( _
   ByVal targetPixelWidth As System.Integer, _
   ByVal targetPixelHeight As System.Integer, _
   Optional ByVal interpolationMode As InterpolationMode, _
   Optional ByVal clipRect As System.Nullable(Of Rectangle) _
) As GcBitmap
public GcBitmap Resize( 
   System.int targetPixelWidth,
   System.int targetPixelHeight,
   InterpolationMode interpolationMode,
   System.Nullable<Rectangle> clipRect
)

パラメータ

targetPixelWidth
The width of the resized image, in pixels.
targetPixelHeight
The height of the resized image, in pixels.
interpolationMode
The interpolation mode to use when scaling.
clipRect
Clipping rectangle specifying the area of the source image to be processed.

戻り値の型

A new GcBitmap with resized image.
参照

GcBitmap クラス
GcBitmap メンバ