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