GridButton.Paint メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
Paint(Graphics, Rectangle, ButtonState, String, Bitmap, HorizontalAlignment, TextBitmapLayout, Boolean)
public:
void Paint(System::Drawing::Graphics ^ g, System::Drawing::Rectangle r, System::Windows::Forms::ButtonState state, System::String ^ text, System::Drawing::Bitmap ^ bmp, System::Windows::Forms::HorizontalAlignment contentsAlignment, Microsoft::ReportingServices::QueryDesigners::TextBitmapLayout tbLayout, bool bEnabled);
public void Paint (System.Drawing.Graphics g, System.Drawing.Rectangle r, System.Windows.Forms.ButtonState state, string text, System.Drawing.Bitmap bmp, System.Windows.Forms.HorizontalAlignment contentsAlignment, Microsoft.ReportingServices.QueryDesigners.TextBitmapLayout tbLayout, bool bEnabled);
member this.Paint : System.Drawing.Graphics * System.Drawing.Rectangle * System.Windows.Forms.ButtonState * string * System.Drawing.Bitmap * System.Windows.Forms.HorizontalAlignment * Microsoft.ReportingServices.QueryDesigners.TextBitmapLayout * bool -> unit
Public Sub Paint (g As Graphics, r As Rectangle, state As ButtonState, text As String, bmp As Bitmap, contentsAlignment As HorizontalAlignment, tbLayout As TextBitmapLayout, bEnabled As Boolean)
パラメーター
- g
- Graphics
- state
- ButtonState
- text
- String
- bmp
- Bitmap
- contentsAlignment
- HorizontalAlignment
- tbLayout
- TextBitmapLayout
- bEnabled
- Boolean
適用対象
Paint(Graphics, Rectangle, ButtonState, String, Bitmap, HorizontalAlignment, TextBitmapLayout, Boolean, GridButtonType)
public:
void Paint(System::Drawing::Graphics ^ g, System::Drawing::Rectangle r, System::Windows::Forms::ButtonState state, System::String ^ text, System::Drawing::Bitmap ^ bmp, System::Windows::Forms::HorizontalAlignment contentsAlignment, Microsoft::ReportingServices::QueryDesigners::TextBitmapLayout tbLayout, bool bEnabled, Microsoft::ReportingServices::QueryDesigners::GridButtonType buttonType);
public void Paint (System.Drawing.Graphics g, System.Drawing.Rectangle r, System.Windows.Forms.ButtonState state, string text, System.Drawing.Bitmap bmp, System.Windows.Forms.HorizontalAlignment contentsAlignment, Microsoft.ReportingServices.QueryDesigners.TextBitmapLayout tbLayout, bool bEnabled, Microsoft.ReportingServices.QueryDesigners.GridButtonType buttonType);
member this.Paint : System.Drawing.Graphics * System.Drawing.Rectangle * System.Windows.Forms.ButtonState * string * System.Drawing.Bitmap * System.Windows.Forms.HorizontalAlignment * Microsoft.ReportingServices.QueryDesigners.TextBitmapLayout * bool * Microsoft.ReportingServices.QueryDesigners.GridButtonType -> unit
Public Sub Paint (g As Graphics, r As Rectangle, state As ButtonState, text As String, bmp As Bitmap, contentsAlignment As HorizontalAlignment, tbLayout As TextBitmapLayout, bEnabled As Boolean, buttonType As GridButtonType)
パラメーター
- g
- Graphics
- state
- ButtonState
- text
- String
- bmp
- Bitmap
- contentsAlignment
- HorizontalAlignment
- tbLayout
- TextBitmapLayout
- bEnabled
- Boolean
- buttonType
- GridButtonType
適用対象
Paint(Graphics, Rectangle, ButtonState, String, Bitmap, HorizontalAlignment, TextBitmapLayout, Boolean, Font, Brush, StringFormat, Boolean)
public:
static void Paint(System::Drawing::Graphics ^ g, System::Drawing::Rectangle r, System::Windows::Forms::ButtonState state, System::String ^ text, System::Drawing::Bitmap ^ bmp, System::Windows::Forms::HorizontalAlignment contentsAlignment, Microsoft::ReportingServices::QueryDesigners::TextBitmapLayout tbLayout, bool bEnabled, System::Drawing::Font ^ textFont, System::Drawing::Brush ^ textBrush, System::Drawing::StringFormat ^ sFormat, bool bRtl);
public static void Paint (System.Drawing.Graphics g, System.Drawing.Rectangle r, System.Windows.Forms.ButtonState state, string text, System.Drawing.Bitmap bmp, System.Windows.Forms.HorizontalAlignment contentsAlignment, Microsoft.ReportingServices.QueryDesigners.TextBitmapLayout tbLayout, bool bEnabled, System.Drawing.Font textFont, System.Drawing.Brush textBrush, System.Drawing.StringFormat sFormat, bool bRtl);
static member Paint : System.Drawing.Graphics * System.Drawing.Rectangle * System.Windows.Forms.ButtonState * string * System.Drawing.Bitmap * System.Windows.Forms.HorizontalAlignment * Microsoft.ReportingServices.QueryDesigners.TextBitmapLayout * bool * System.Drawing.Font * System.Drawing.Brush * System.Drawing.StringFormat * bool -> unit
Public Shared Sub Paint (g As Graphics, r As Rectangle, state As ButtonState, text As String, bmp As Bitmap, contentsAlignment As HorizontalAlignment, tbLayout As TextBitmapLayout, bEnabled As Boolean, textFont As Font, textBrush As Brush, sFormat As StringFormat, bRtl As Boolean)
パラメーター
- g
- Graphics
- state
- ButtonState
- text
- String
- bmp
- Bitmap
- contentsAlignment
- HorizontalAlignment
- tbLayout
- TextBitmapLayout
- bEnabled
- Boolean
- textFont
- Font
- textBrush
- Brush
- sFormat
- StringFormat
- bRtl
- Boolean
適用対象
Paint(Graphics, Rectangle, ButtonState, String, Bitmap, HorizontalAlignment, TextBitmapLayout, Boolean, Font, SolidBrush, TextFormatFlags, Boolean)
public:
static void Paint(System::Drawing::Graphics ^ g, System::Drawing::Rectangle r, System::Windows::Forms::ButtonState state, System::String ^ text, System::Drawing::Bitmap ^ bmp, System::Windows::Forms::HorizontalAlignment contentsAlignment, Microsoft::ReportingServices::QueryDesigners::TextBitmapLayout tbLayout, bool bEnabled, System::Drawing::Font ^ textFont, System::Drawing::SolidBrush ^ textBrush, System::Windows::Forms::TextFormatFlags sFormat, bool bRtl);
public static void Paint (System.Drawing.Graphics g, System.Drawing.Rectangle r, System.Windows.Forms.ButtonState state, string text, System.Drawing.Bitmap bmp, System.Windows.Forms.HorizontalAlignment contentsAlignment, Microsoft.ReportingServices.QueryDesigners.TextBitmapLayout tbLayout, bool bEnabled, System.Drawing.Font textFont, System.Drawing.SolidBrush textBrush, System.Windows.Forms.TextFormatFlags sFormat, bool bRtl);
static member Paint : System.Drawing.Graphics * System.Drawing.Rectangle * System.Windows.Forms.ButtonState * string * System.Drawing.Bitmap * System.Windows.Forms.HorizontalAlignment * Microsoft.ReportingServices.QueryDesigners.TextBitmapLayout * bool * System.Drawing.Font * System.Drawing.SolidBrush * System.Windows.Forms.TextFormatFlags * bool -> unit
Public Shared Sub Paint (g As Graphics, r As Rectangle, state As ButtonState, text As String, bmp As Bitmap, contentsAlignment As HorizontalAlignment, tbLayout As TextBitmapLayout, bEnabled As Boolean, textFont As Font, textBrush As SolidBrush, sFormat As TextFormatFlags, bRtl As Boolean)
パラメーター
- g
- Graphics
- state
- ButtonState
- text
- String
- bmp
- Bitmap
- contentsAlignment
- HorizontalAlignment
- tbLayout
- TextBitmapLayout
- bEnabled
- Boolean
- textFont
- Font
- textBrush
- SolidBrush
- sFormat
- TextFormatFlags
- bRtl
- Boolean
適用対象
Paint(Graphics, Rectangle, ButtonState, String, Bitmap, HorizontalAlignment, TextBitmapLayout, Boolean, Font, Brush, StringFormat, Boolean, GridButtonType)
public:
static void Paint(System::Drawing::Graphics ^ g, System::Drawing::Rectangle r, System::Windows::Forms::ButtonState state, System::String ^ text, System::Drawing::Bitmap ^ bmp, System::Windows::Forms::HorizontalAlignment contentsAlignment, Microsoft::ReportingServices::QueryDesigners::TextBitmapLayout tbLayout, bool bEnabled, System::Drawing::Font ^ textFont, System::Drawing::Brush ^ textBrush, System::Drawing::StringFormat ^ sFormat, bool bRtl, Microsoft::ReportingServices::QueryDesigners::GridButtonType buttonType);
public static void Paint (System.Drawing.Graphics g, System.Drawing.Rectangle r, System.Windows.Forms.ButtonState state, string text, System.Drawing.Bitmap bmp, System.Windows.Forms.HorizontalAlignment contentsAlignment, Microsoft.ReportingServices.QueryDesigners.TextBitmapLayout tbLayout, bool bEnabled, System.Drawing.Font textFont, System.Drawing.Brush textBrush, System.Drawing.StringFormat sFormat, bool bRtl, Microsoft.ReportingServices.QueryDesigners.GridButtonType buttonType);
static member Paint : System.Drawing.Graphics * System.Drawing.Rectangle * System.Windows.Forms.ButtonState * string * System.Drawing.Bitmap * System.Windows.Forms.HorizontalAlignment * Microsoft.ReportingServices.QueryDesigners.TextBitmapLayout * bool * System.Drawing.Font * System.Drawing.Brush * System.Drawing.StringFormat * bool * Microsoft.ReportingServices.QueryDesigners.GridButtonType -> unit
Public Shared Sub Paint (g As Graphics, r As Rectangle, state As ButtonState, text As String, bmp As Bitmap, contentsAlignment As HorizontalAlignment, tbLayout As TextBitmapLayout, bEnabled As Boolean, textFont As Font, textBrush As Brush, sFormat As StringFormat, bRtl As Boolean, buttonType As GridButtonType)
パラメーター
- g
- Graphics
- state
- ButtonState
- text
- String
- bmp
- Bitmap
- contentsAlignment
- HorizontalAlignment
- tbLayout
- TextBitmapLayout
- bEnabled
- Boolean
- textFont
- Font
- textBrush
- Brush
- sFormat
- StringFormat
- bRtl
- Boolean
- buttonType
- GridButtonType
適用対象
Paint(Graphics, Rectangle, ButtonState, String, Bitmap, HorizontalAlignment, TextBitmapLayout, Boolean, Font, SolidBrush, TextFormatFlags, Boolean, GridButtonType)
public:
static void Paint(System::Drawing::Graphics ^ g, System::Drawing::Rectangle r, System::Windows::Forms::ButtonState state, System::String ^ text, System::Drawing::Bitmap ^ bmp, System::Windows::Forms::HorizontalAlignment contentsAlignment, Microsoft::ReportingServices::QueryDesigners::TextBitmapLayout tbLayout, bool bEnabled, System::Drawing::Font ^ textFont, System::Drawing::SolidBrush ^ textBrush, System::Windows::Forms::TextFormatFlags sFormat, bool bRtl, Microsoft::ReportingServices::QueryDesigners::GridButtonType buttonType);
public static void Paint (System.Drawing.Graphics g, System.Drawing.Rectangle r, System.Windows.Forms.ButtonState state, string text, System.Drawing.Bitmap bmp, System.Windows.Forms.HorizontalAlignment contentsAlignment, Microsoft.ReportingServices.QueryDesigners.TextBitmapLayout tbLayout, bool bEnabled, System.Drawing.Font textFont, System.Drawing.SolidBrush textBrush, System.Windows.Forms.TextFormatFlags sFormat, bool bRtl, Microsoft.ReportingServices.QueryDesigners.GridButtonType buttonType);
static member Paint : System.Drawing.Graphics * System.Drawing.Rectangle * System.Windows.Forms.ButtonState * string * System.Drawing.Bitmap * System.Windows.Forms.HorizontalAlignment * Microsoft.ReportingServices.QueryDesigners.TextBitmapLayout * bool * System.Drawing.Font * System.Drawing.SolidBrush * System.Windows.Forms.TextFormatFlags * bool * Microsoft.ReportingServices.QueryDesigners.GridButtonType -> unit
Public Shared Sub Paint (g As Graphics, r As Rectangle, state As ButtonState, text As String, bmp As Bitmap, contentsAlignment As HorizontalAlignment, tbLayout As TextBitmapLayout, bEnabled As Boolean, textFont As Font, textBrush As SolidBrush, sFormat As TextFormatFlags, bRtl As Boolean, buttonType As GridButtonType)
パラメーター
- g
- Graphics
- state
- ButtonState
- text
- String
- bmp
- Bitmap
- contentsAlignment
- HorizontalAlignment
- tbLayout
- TextBitmapLayout
- bEnabled
- Boolean
- textFont
- Font
- textBrush
- SolidBrush
- sFormat
- TextFormatFlags
- bRtl
- Boolean
- buttonType
- GridButtonType