Label.DrawImage メソッドとは? わかりやすく解説

Label.DrawImage メソッド

Image を指定した境界内に描画します。

名前空間: System.Windows.Forms
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)
構文構文

Protected Sub DrawImage ( _
    g As Graphics, _
    image As Image, _
    r As Rectangle, _
    align As ContentAlignment _
)
Dim g As Graphics
Dim image As Image
Dim r As Rectangle
Dim align As ContentAlignment

Me.DrawImage(g, image, r, align)
protected void DrawImage (
    Graphics g,
    Image image,
    Rectangle r,
    ContentAlignment align
)
protected:
void DrawImage (
    Graphics^ g, 
    Image^ image, 
    Rectangle r, 
    ContentAlignment align
)
protected void DrawImage (
    Graphics g, 
    Image image, 
    Rectangle r, 
    ContentAlignment align
)
protected function DrawImage (
    g : Graphics, 
    image : Image, 
    r : Rectangle, 
    align : ContentAlignment
)

パラメータ

g

描画が実行される Graphics 表面。

image

描画する Image。

r

描画の実行範囲を表す Rectangle 境界。

align

描画するイメージの Label 内での配置。

解説解説
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

Label.DrawImage メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



Label.DrawImage メソッドのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS