バージョン

DrawImage(Image,Rectangle,Boolean,ImageAttributes,Boolean,Boolean,Color,Byte,Byte,Byte) メソッド

グラフィックスオブジェクト上に指定された画像を描画します。
シンタックス
'宣言
 
Public Overloads Sub DrawImage( _
   ByVal image As Image, _
   ByVal rect As Rectangle, _
   ByVal scaled As Boolean, _
   ByVal imgAttributes As ImageAttributes, _
   ByVal maintainAspectRatio As Boolean, _
   ByVal drawBorderShadow As Boolean, _
   ByVal shadowColor As Color, _
   ByVal startAlpha As Byte, _
   ByVal endAlpha As Byte, _
   ByVal shadowDepth As Byte _
) 
public void DrawImage( 
   Image image,
   Rectangle rect,
   bool scaled,
   ImageAttributes imgAttributes,
   bool maintainAspectRatio,
   bool drawBorderShadow,
   Color shadowColor,
   byte startAlpha,
   byte endAlpha,
   byte shadowDepth
)

パラメータ

image
描画する画像
rect
画像を描画すべき四角形
scaled
画像がスケールされる場合はTrue、外観画像の水平方向および垂直方向の配置を使用する場合はFalse
imgAttributes
ImageAttributesインスタンスまたはnull
maintainAspectRatio
スケールが True であれば、オリジナルのアスペクト比が保持されます。
drawBorderShadow
イメージの周囲に影を描画する場合は True
shadowColor
枠の影の基本色
startAlpha
枠の影の開始のアルファ レベル
endAlpha
枠の影の終了のアルファ レベル
shadowDepth
枠の影の深さ
参照