GridButton.HitTest Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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
Parameters
- g
- Graphics
- p
- Point
- text
- String
- bmp
- Bitmap
- contentsAlignment
- HorizontalAlignment
- tbLayout
- TextBitmapLayout
Returns
Applies to
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
Parameters
- g
- Graphics
- point
- Point
- buttonRect
- Rectangle
- text
- String
- bmp
- Bitmap
- contentsAlignment
- HorizontalAlignment
- tbLayout
- TextBitmapLayout
- textFont
- Font
- textBrush
- Brush
- sFormat
- StringFormat
- bRtl
- Boolean
Returns
Applies to
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
Parameters
- g
- Graphics
- point
- Point
- buttonRect
- Rectangle
- text
- String
- bmp
- Bitmap
- contentsAlignment
- HorizontalAlignment
- tbLayout
- TextBitmapLayout
- textFont
- Font
- textBrush
- SolidBrush
- sFormat
- TextFormatFlags
- bRtl
- Boolean