41 references to FromImage
System.Drawing (5)
commonui\System\Drawing\Bitmap.cs (2)
327
g = Graphics.
FromImage
(this);
586
graphics = Graphics.
FromImage
(result);
commonui\System\Drawing\Icon.cs (1)
1068
graphics = Graphics.
FromImage
(bitmap);
commonui\System\Drawing\Printing\PreviewPrintController.cs (1)
127
graphics = Graphics.
FromImage
(metafile);
misc\DpiHelper.cs (1)
459
using (Graphics graphics = Graphics.
FromImage
(deviceImage))
System.Web.DataVisualization (6)
Common\Annotation\TextAnnotation.cs (1)
938
graphics = Graphics.
FromImage
( graphicsImage );
Common\General\Chart.cs (4)
251
using (Graphics newGraphics = Graphics.
FromImage
(bitmap))
272
using (Graphics metaGraphics = Graphics.
FromImage
(metaFile))
354
Graphics offScreen = Graphics.
FromImage
( image );
1627
Graphics offScreen = Graphics.
FromImage
(image);
Common\General\ChartGraphics.cs (1)
402
using(Graphics graphics = Graphics.
FromImage
(bitmap))
System.Web.Mobile (2)
UI\MobileControls\Design\Util\ImageCreator.cs (2)
36
using(Graphics g = Graphics.
FromImage
(bmp))
112
using(Graphics g = Graphics.
FromImage
(bitmap))
System.Windows.Forms (16)
misc\DpiHelper.cs (1)
459
using (Graphics graphics = Graphics.
FromImage
(deviceImage))
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxBaseAdapter.cs (1)
259
Graphics offscreen = Graphics.
FromImage
(bitmap);
winforms\Managed\System\WinForms\Control.cs (2)
6171
using (Graphics g = Graphics.
FromImage
(image)) {
6178
using (Graphics destGraphics = Graphics.
FromImage
(bitmap)) {
winforms\Managed\System\WinForms\ControlPaint.cs (3)
1280
using (Graphics g2 = Graphics.
FromImage
(bitmap)) {
1363
using( Graphics g2 = Graphics.
FromImage
(bitmap) ) {
1597
using (Graphics g = Graphics.
FromImage
(bmp)) {
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (1)
1435
using (Graphics offscreen = Graphics.
FromImage
(bitmap))
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (1)
864
Graphics gFlip = Graphics.
FromImage
(bmFlipXPThemes);
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (1)
835
using (Graphics gFlip = Graphics.
FromImage
(bmFlipXPThemes)) {
winforms\Managed\System\WinForms\ImageList.cs (1)
747
Graphics graphics = Graphics.
FromImage
(result);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
5638
using (Graphics glyphGraphics = Graphics.
FromImage
(sizeGripGlyph))
winforms\Managed\System\WinForms\ToolStrip.cs (1)
2840
using (Graphics g = Graphics.
FromImage
(image)) {
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (1)
819
using (Graphics g = Graphics.
FromImage
(image)) {
winforms\Managed\System\WinForms\ToolStripRenderer.cs (2)
939
using (Graphics textGraphics = Graphics.
FromImage
(textBmp)) {
1080
using (Graphics graphics = Graphics.
FromImage
(disabledBitmap)) {
System.Windows.Forms.DataVisualization (7)
Common\Annotation\TextAnnotation.cs (1)
938
graphics = Graphics.
FromImage
( graphicsImage );
Common\General\Chart.cs (4)
251
using (Graphics newGraphics = Graphics.
FromImage
(bitmap))
272
using (Graphics metaGraphics = Graphics.
FromImage
(metaFile))
354
Graphics offScreen = Graphics.
FromImage
( image );
1627
Graphics offScreen = Graphics.
FromImage
(image);
Common\General\ChartGraphics.cs (1)
402
using(Graphics graphics = Graphics.
FromImage
(bitmap))
WinForm\ChartWinControl.cs (1)
440
paintBufferBitmapGraphics = Graphics.
FromImage
(paintBufferBitmap);
System.Workflow.ComponentModel (5)
AuthoringOM\Design\ActivityDesigner.cs (2)
1064
using (Graphics graphics = Graphics.
FromImage
(designerImage))
1979
using (Graphics graphics = Graphics.
FromImage
(temporaryBitmap))
AuthoringOM\Design\DesignerWidgets.cs (1)
1933
using (Graphics graphics = Graphics.
FromImage
(bitmap))
AuthoringOM\Design\MessageFilters\DragDropManager.cs (1)
680
using (Graphics draggedImageGraphics = Graphics.
FromImage
(draggedImage))
AuthoringOM\Design\WorkflowView.cs (1)
1560
using (Graphics viewPortGraphics = Graphics.
FromImage
(memoryBitmap))