12 references to GetHbitmap
PresentationFramework-SystemDrawing (3)
SystemDrawingExtension.cs (3)
87
return bitmapData.
GetHbitmap
();
94
return (bitmap != null) ? bitmap.
GetHbitmap
() : IntPtr.Zero;
112
return bmp.
GetHbitmap
();
System.Drawing.Common.Tests (5)
mono\System.Drawing\BitmapTests.cs (2)
1271
hbitmap = bitmap.
GetHbitmap
();
1297
hbitmap = bitmap.
GetHbitmap
();
System\Drawing\BitmapTests.cs (3)
598
IntPtr handle = bitmap.
GetHbitmap
();
640
AssertExtensions.Throws<ArgumentException>(null, () => bitmap.
GetHbitmap
());
649
AssertExtensions.Throws<ArgumentException>(null, () => bitmap.
GetHbitmap
());
System.Windows.Forms (1)
System\Windows\Forms\Rendering\ControlPaint.cs (1)
309
HBITMAP colorMask = (HBITMAP)bitmap.
GetHbitmap
();
System.Windows.Forms.Primitives (1)
System\Windows\Forms\SystemDrawingExtensions.cs (1)
13
internal static HBITMAP GetHBITMAP(this Bitmap bitmap) => (HBITMAP)bitmap.
GetHbitmap
();
System.Windows.Forms.Tests (2)
System\Windows\Forms\ComponentModel\Com2Interop\COM2PictureConverterTests.cs (1)
95
nint hBitmap = errorBitmap.
GetHbitmap
();
System\Windows\Forms\ControlPaintTests.cs (1)
129
HBITMAP monochromeMask = (HBITMAP)mask.
GetHbitmap
();