GridButton.HitTest Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
HitTest(Graphics, Point, Rectangle, String, Bitmap, HorizontalAlignment, TextBitmapLayout)
public:
Microsoft::ReportingServices::QueryDesigners::GridButtonArea HitTest(System::Drawing::Graphics ^ g, System::Drawing::Point p, System::Drawing::Rectangle r, System::String ^ text, System::Drawing::Bitmap ^ bmp, System::Windows::Forms::HorizontalAlignment contentsAlignment, Microsoft::ReportingServices::QueryDesigners::TextBitmapLayout tbLayout);
public Microsoft.ReportingServices.QueryDesigners.GridButtonArea HitTest (System.Drawing.Graphics g, System.Drawing.Point p, System.Drawing.Rectangle r, string text, System.Drawing.Bitmap bmp, System.Windows.Forms.HorizontalAlignment contentsAlignment, Microsoft.ReportingServices.QueryDesigners.TextBitmapLayout tbLayout);
member this.HitTest : System.Drawing.Graphics * System.Drawing.Point * System.Drawing.Rectangle * string * System.Drawing.Bitmap * System.Windows.Forms.HorizontalAlignment * Microsoft.ReportingServices.QueryDesigners.TextBitmapLayout -> Microsoft.ReportingServices.QueryDesigners.GridButtonArea
Public Function HitTest (g As Graphics, p As Point, r As Rectangle, text As String, bmp As Bitmap, contentsAlignment As HorizontalAlignment, tbLayout As TextBitmapLayout) As GridButtonArea
Параметры
- g
- Graphics
- p
- Point
- text
- String
- bmp
- Bitmap
- contentsAlignment
- HorizontalAlignment
- tbLayout
- TextBitmapLayout
Возвращаемое значение
Применяется к
HitTest(Graphics, Point, Rectangle, String, Bitmap, HorizontalAlignment, TextBitmapLayout, Font, Brush, StringFormat, Boolean)
public:
static Microsoft::ReportingServices::QueryDesigners::GridButtonArea HitTest(System::Drawing::Graphics ^ g, System::Drawing::Point point, System::Drawing::Rectangle buttonRect, System::String ^ text, System::Drawing::Bitmap ^ bmp, System::Windows::Forms::HorizontalAlignment contentsAlignment, Microsoft::ReportingServices::QueryDesigners::TextBitmapLayout tbLayout, System::Drawing::Font ^ textFont, System::Drawing::Brush ^ textBrush, System::Drawing::StringFormat ^ sFormat, bool bRtl);
public static Microsoft.ReportingServices.QueryDesigners.GridButtonArea HitTest (System.Drawing.Graphics g, System.Drawing.Point point, System.Drawing.Rectangle buttonRect, string text, System.Drawing.Bitmap bmp, System.Windows.Forms.HorizontalAlignment contentsAlignment, Microsoft.ReportingServices.QueryDesigners.TextBitmapLayout tbLayout, System.Drawing.Font textFont, System.Drawing.Brush textBrush, System.Drawing.StringFormat sFormat, bool bRtl);
static member HitTest : System.Drawing.Graphics * System.Drawing.Point * System.Drawing.Rectangle * string * System.Drawing.Bitmap * System.Windows.Forms.HorizontalAlignment * Microsoft.ReportingServices.QueryDesigners.TextBitmapLayout * System.Drawing.Font * System.Drawing.Brush * System.Drawing.StringFormat * bool -> Microsoft.ReportingServices.QueryDesigners.GridButtonArea
Public Shared Function HitTest (g As Graphics, point As Point, buttonRect As Rectangle, text As String, bmp As Bitmap, contentsAlignment As HorizontalAlignment, tbLayout As TextBitmapLayout, textFont As Font, textBrush As Brush, sFormat As StringFormat, bRtl As Boolean) As GridButtonArea
Параметры
- g
- Graphics
- point
- Point
- buttonRect
- Rectangle
- text
- String
- bmp
- Bitmap
- contentsAlignment
- HorizontalAlignment
- tbLayout
- TextBitmapLayout
- textFont
- Font
- textBrush
- Brush
- sFormat
- StringFormat
- bRtl
- Boolean
Возвращаемое значение
Применяется к
HitTest(Graphics, Point, Rectangle, String, Bitmap, HorizontalAlignment, TextBitmapLayout, Font, SolidBrush, TextFormatFlags, Boolean)
public:
static Microsoft::ReportingServices::QueryDesigners::GridButtonArea HitTest(System::Drawing::Graphics ^ g, System::Drawing::Point point, System::Drawing::Rectangle buttonRect, System::String ^ text, System::Drawing::Bitmap ^ bmp, System::Windows::Forms::HorizontalAlignment contentsAlignment, Microsoft::ReportingServices::QueryDesigners::TextBitmapLayout tbLayout, System::Drawing::Font ^ textFont, System::Drawing::SolidBrush ^ textBrush, System::Windows::Forms::TextFormatFlags sFormat, bool bRtl);
public static Microsoft.ReportingServices.QueryDesigners.GridButtonArea HitTest (System.Drawing.Graphics g, System.Drawing.Point point, System.Drawing.Rectangle buttonRect, string text, System.Drawing.Bitmap bmp, System.Windows.Forms.HorizontalAlignment contentsAlignment, Microsoft.ReportingServices.QueryDesigners.TextBitmapLayout tbLayout, System.Drawing.Font textFont, System.Drawing.SolidBrush textBrush, System.Windows.Forms.TextFormatFlags sFormat, bool bRtl);
static member HitTest : System.Drawing.Graphics * System.Drawing.Point * System.Drawing.Rectangle * string * System.Drawing.Bitmap * System.Windows.Forms.HorizontalAlignment * Microsoft.ReportingServices.QueryDesigners.TextBitmapLayout * System.Drawing.Font * System.Drawing.SolidBrush * System.Windows.Forms.TextFormatFlags * bool -> Microsoft.ReportingServices.QueryDesigners.GridButtonArea
Public Shared Function HitTest (g As Graphics, point As Point, buttonRect As Rectangle, text As String, bmp As Bitmap, contentsAlignment As HorizontalAlignment, tbLayout As TextBitmapLayout, textFont As Font, textBrush As SolidBrush, sFormat As TextFormatFlags, bRtl As Boolean) As GridButtonArea
Параметры
- g
- Graphics
- point
- Point
- buttonRect
- Rectangle
- text
- String
- bmp
- Bitmap
- contentsAlignment
- HorizontalAlignment
- tbLayout
- TextBitmapLayout
- textFont
- Font
- textBrush
- SolidBrush
- sFormat
- TextFormatFlags
- bRtl
- Boolean