2 types derived from Image
System.Drawing (2)
commonui\System\Drawing\Advanced\Metafile.cs (1)
36
public sealed class Metafile :
Image
{
commonui\System\Drawing\Bitmap.cs (1)
37
public sealed class Bitmap :
Image
{
677 references to Image
System.Drawing (144)
commonui\System\Drawing\Advanced\Gdiplus.cs (1)
1714
Image
.GetThumbnailImageAbort callback,
commonui\System\Drawing\Advanced\ImageLockMode.cs (1)
20
/// Indicates the access mode for an <see cref='System.Drawing.
Image
'/>.
commonui\System\Drawing\Advanced\TextureBrush.cs (11)
53
public TextureBrush(
Image
bitmap)
71
public TextureBrush(
Image
image, WrapMode wrapMode) {
108
public TextureBrush(
Image
image, WrapMode wrapMode, RectangleF dstRect) {
150
public TextureBrush(
Image
image, WrapMode wrapMode, Rectangle dstRect) {
193
public TextureBrush(
Image
image, RectangleF dstRect)
210
public TextureBrush(
Image
image, RectangleF dstRect,
248
public TextureBrush(
Image
image, Rectangle dstRect)
265
public TextureBrush(
Image
image, Rectangle dstRect,
407
/// Gets the <see cref='System.Drawing.
Image
'/> associated with this <see cref='System.Drawing.TextureBrush'/>.
410
public
Image
Image {
420
return
Image
.CreateImageObject(image);
commonui\System\Drawing\Bitmap.cs (3)
313
public Bitmap(
Image
original) : this(original, original.Width, original.Height) {
324
public Bitmap(
Image
original, int width, int height) : this(width, height) {
461
public Bitmap(
Image
original, Size newSize) :
commonui\System\Drawing\Design\PropertyValueUIItem.cs (3)
31
private
Image
itemImage;
49
public PropertyValueUIItem(
Image
uiItemImage, PropertyValueUIItemInvokeHandler handler, string tooltip){
66
public virtual
Image
Image {
commonui\System\Drawing\Graphics.cs (39)
81
private
Image
backingImage;
224
/// from an existing <see cref='System.Drawing.
Image
'/>.
228
public static Graphics FromImage(
Image
image) {
2751
public void DrawImage(
Image
image, PointF point) {
2759
public void DrawImage(
Image
image, float x, float y) {
2777
public void DrawImage(
Image
image, RectangleF rect) {
2785
public void DrawImage(
Image
image, float x, float y, float width,
2807
public void DrawImage(
Image
image, Point point) {
2815
public void DrawImage(
Image
image, int x, int y) {
2833
public void DrawImage(
Image
image, Rectangle rect) {
2841
public void DrawImage(
Image
image, int x, int y, int width, int height) {
2864
public void DrawImageUnscaled(
Image
image, Point point) {
2871
public void DrawImageUnscaled(
Image
image, int x, int y) {
2878
public void DrawImageUnscaled(
Image
image, Rectangle rect) {
2885
public void DrawImageUnscaled(
Image
image, int x, int y, int width, int height) {
2892
public void DrawImageUnscaledAndClipped(
Image
image, Rectangle rect) {
2919
public void DrawImage(
Image
image, PointF[] destPoints) {
2952
public void DrawImage(
Image
image, Point[] destPoints) {
2990
public void DrawImage(
Image
image, float x, float y, RectangleF srcRect,
3018
public void DrawImage(
Image
image, int x, int y, Rectangle srcRect,
3046
public void DrawImage(
Image
image, RectangleF destRect, RectangleF srcRect,
3080
public void DrawImage(
Image
image, Rectangle destRect, Rectangle srcRect,
3111
public void DrawImage(
Image
image, PointF[] destPoints, RectangleF srcRect,
3152
public void DrawImage(
Image
image, PointF[] destPoints, RectangleF srcRect,
3159
public void DrawImage(
Image
image, PointF[] destPoints, RectangleF srcRect,
3167
public void DrawImage(
Image
image, PointF[] destPoints, RectangleF srcRect,
3211
public void DrawImage(
Image
image, Point[] destPoints, Rectangle srcRect, GraphicsUnit srcUnit) {
3218
public void DrawImage(
Image
image, Point[] destPoints, Rectangle srcRect,
3225
public void DrawImage(
Image
image, Point[] destPoints, Rectangle srcRect,
3233
public void DrawImage(
Image
image, Point[] destPoints, Rectangle srcRect,
3277
public void DrawImage(
Image
image, Rectangle destRect, float srcX, float srcY,
3284
public void DrawImage(
Image
image, Rectangle destRect, float srcX, float srcY,
3292
public void DrawImage(
Image
image, Rectangle destRect, float srcX, float srcY,
3301
public void DrawImage(
Image
image, Rectangle destRect, float srcX, float srcY,
3333
public void DrawImage(
Image
image, Rectangle destRect, int srcX, int srcY,
3340
public void DrawImage(
Image
image, Rectangle destRect, int srcX, int srcY,
3348
public void DrawImage(
Image
image, Rectangle destRect, int srcX, int srcY,
3356
public void DrawImage(
Image
image, Rectangle destRect, int srcX, int srcY,
4640
private void IgnoreMetafileErrors(
Image
image, ref int errorStatus) {
commonui\System\Drawing\IconConverter.cs (2)
55
if (destinationType == typeof(
Image
) || destinationType == typeof(Bitmap)) {
99
if (destinationType == typeof(
Image
) || destinationType == typeof(Bitmap)) {
commonui\System\Drawing\Image.cs (44)
146
/// Creates an <see cref='System.Drawing.
Image
'/> from the specified file.
151
public static
Image
FromFile(String filename) {
152
return
Image
.FromFile(filename, false);
161
public static
Image
FromFile(String filename,
208
Image
img = CreateImageObject(image);
221
/// Creates an <see cref='System.Drawing.
Image
'/> from the specified data
227
public static
Image
FromStream(Stream stream) {
228
return
Image
.FromStream(stream, false);
237
public static
Image
FromStream(Stream stream,
249
public static
Image
FromStream(Stream stream, bool useEmbeddedColorManagement, bool validateImageData ) {
281
Image
img = CreateImageObject(image);
327
/// Creates an exact copy of this <see cref='System.Drawing.
Image
'/>.
355
/// <see cref='System.Drawing.
Image
'/>.
394
/// <see cref='System.Drawing.
Image
'/>.
402
internal static void EnsureSave(
Image
image, string filename, Stream dataStream) {
483
internal static
Image
CreateImageObject(IntPtr nativeImage) {
484
Image
image;
526
/// for this <see cref='System.Drawing.
Image
'/>.
564
/// Saves this <see cref='System.Drawing.
Image
'/> to the specified file.
572
/// Saves this <see cref='System.Drawing.
Image
'/> to the specified file in the
590
/// Saves this <see cref='System.Drawing.
Image
'/> to the specified file in the specified format
666
/// Saves this <see cref='System.Drawing.
Image
'/> to the specified stream in the specified
681
/// Saves this <see cref='System.Drawing.
Image
'/> to the specified stream in the specified
737
/// <see cref='System.Drawing.
Image
'/>.
762
/// specified <see cref='System.Drawing.
Image
'/>.
766
public void SaveAdd(
Image
image, EncoderParameters encoderParams) {
806
/// <see cref='System.Drawing.
Image
'/>.
816
/// Gets the width and height of this <see cref='System.Drawing.
Image
'/>.
827
/// Gets the width of this <see cref='System.Drawing.
Image
'/>.
849
/// Gets the height of this <see cref='System.Drawing.
Image
'/>.
872
/// pixels-per-inch, of this <see cref='System.Drawing.
Image
'/>.
890
/// pixels-per-inch, of this <see cref='System.Drawing.
Image
'/>.
907
/// Gets attribute flags for this <see cref='System.Drawing.
Image
'/>.
925
/// Gets the format of this <see cref='System.Drawing.
Image
'/>.
943
/// Gets the pixel format for this <see cref='System.Drawing.
Image
'/>.
961
/// the specified units for this <see cref='System.Drawing.
Image
'/>.
1027
/// palette used for this <see cref='System.Drawing.
Image
'/>.
1044
/// Returns the thumbnail for this <see cref='System.Drawing.
Image
'/>.
1046
public
Image
GetThumbnailImage(int thumbWidth, int thumbHeight,
1064
/// dimensions of frames within this <see cref='System.Drawing.
Image
'/>.
1168
/// this <see cref='System.Drawing.
Image
'/>.
1199
/// <see cref='System.Drawing.
Image
'/>.
1237
/// this <see cref='System.Drawing.
Image
'/>.
1264
/// Gets an array of <see cref='System.Drawing.Imaging.PropertyItem'/> objects that describe this <see cref='System.Drawing.
Image
'/>.
commonui\System\Drawing\ImageAnimator.cs (4)
98
public static void UpdateFrames(
Image
image) {
177
public static void Animate(
Image
image, EventHandler onFrameChangedHandler) {
252
public static bool CanAnimate(
Image
image) {
275
public static void StopAnimate(
Image
image, EventHandler onFrameChangedHandler) {
commonui\System\Drawing\ImageConverter.cs (6)
99
return
Image
.FromStream(memStream);
125
Image
image = (
Image
)value;
136
Image
image = null;
140
image = (
Image
) value;
260
return TypeDescriptor.GetProperties(typeof(
Image
), attributes);
commonui\System\Drawing\ImageInfo.cs (3)
24
Image
image;
35
public ImageInfo(
Image
image) {
147
internal
Image
Image {
commonui\System\Drawing\Printing\PreviewPageInfo.cs (3)
21
private
Image
image;
33
public PreviewPageInfo(
Image
image, Size physicalSize) {
42
public
Image
Image {
commonui\System\Drawing\Printing\PrinterSettings.cs (1)
558
public bool IsDirectPrintingSupported(
Image
image) {
commonui\System\Drawing\ToolboxBitmapAttribute.cs (23)
36
private
Image
smallImage;
42
private
Image
largeImage;
123
private ToolboxBitmapAttribute(
Image
smallImage,
Image
largeImage) {
159
public
Image
GetImage(object component) {
168
public
Image
GetImage(object component, bool large) {
180
public
Image
GetImage(Type type) {
190
public
Image
GetImage(Type type, bool large) {
200
public
Image
GetImage(Type type, string imgName, bool large) {
205
Image
img = null;
240
Image
toReturn = (large) ? largeImage : smallImage;
283
private static
Image
GetIconFromStream(Stream stream, bool large, bool scaled) {
312
private static
Image
GetImageFromFile(string imageFile, bool large, bool scaled = true) {
313
Image
image = null;
335
image =
Image
.FromFile(imageFile);
354
static private
Image
GetBitmapFromResource(Type t, string bitmapname, bool large, bool scaled) {
359
Image
img = null;
382
static private
Image
GetIconFromResource(Type t, string bitmapname, bool large, bool scaled) {
396
public static
Image
GetImageFromResource(Type t, string imageName, bool large) {
407
internal static
Image
GetImageFromResource(Type t, string imageName, bool large, bool scaled) {
408
Image
img = null;
479
public static readonly ToolboxBitmapAttribute Default = new ToolboxBitmapAttribute((
Image
)null, (
Image
)null);
System.Web.DataVisualization (107)
Common\Annotation\TextAnnotation.cs (1)
933
System.Drawing.
Image
graphicsImage = null;
Common\ChartTypes\AreaChart.cs (4)
86
override public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
88
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
212
override public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
214
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\BarChart.cs (2)
190
virtual public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
192
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\BoxPlotChart.cs (2)
207
virtual public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
209
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\BubbleChart.cs (2)
113
override public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
115
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\ChartTypeRegistry.cs (1)
310
System.Drawing.
Image
GetImage(ChartTypeRegistry registry);
Common\ChartTypes\ColumnChart.cs (2)
99
override public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
101
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\DoughnutChart.cs (2)
56
override public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
58
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\ErrorBarChart.cs (2)
255
virtual public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
257
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\FastLineChart.cs (2)
215
virtual public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
217
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\FastPointChart.cs (2)
216
virtual public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
218
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\FunnelChart.cs (2)
390
virtual public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
392
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\KagiChart.cs (2)
969
override public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
971
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\LineChart.cs (4)
76
override public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
78
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
249
override public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
251
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\PieChart.cs (2)
153
virtual public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
155
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\PointAndFigureChart.cs (2)
906
override public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
908
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\PointChart.cs (2)
255
virtual public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
257
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\RadarChart.cs (2)
243
virtual public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
245
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\RangeChart.cs (4)
90
override public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
92
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
220
override public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
222
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\RenkoChart.cs (2)
654
virtual public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
656
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\StackedAreaChart.cs (2)
389
override public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
391
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\StackedBarChart.cs (2)
358
virtual public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
360
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\StackedColumnChart.cs (2)
353
virtual public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
355
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\StepLineChart.cs (2)
85
override public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
87
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\StockChart.cs (4)
110
override public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
112
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
279
virtual public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
281
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\ThreeLineBreakChart.cs (2)
649
virtual public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
651
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\General\ChartGraphics.cs (7)
384
System.Drawing.
Image
image = _common.ImageLoader.LoadImage( name );
422
Image
scaledImage = ImageLoader.GetScaledImage(image, this.Graphics);
708
System.Drawing.
Image
image = _common.ImageLoader.LoadImage( markerImage );
2124
System.Drawing.
Image
labelImage = null;
3523
System.Drawing.
Image
image = _common.ImageLoader.LoadImage( backImage );
4203
System.Drawing.
Image
image = _common.ImageLoader.LoadImage( backImage );
4500
System.Drawing.
Image
image = _common.ImageLoader.LoadImage( backImage );
Common\General\ChartRenderingEngine.cs (2)
161
System.Drawing.
Image
image,
383
System.Drawing.
Image
image,
Common\General\GdiGraphics.cs (3)
118
System.Drawing.
Image
image,
263
System.Drawing.
Image
image,
360
System.Drawing.
Image
image,
Common\General\IChartRenderingEngine.cs (3)
93
System.Drawing.
Image
image,
208
System.Drawing.
Image
image,
290
System.Drawing.
Image
image,
Common\General\LegendColumns.cs (3)
2093
System.Drawing.
Image
image = this.Common.ImageLoader.LoadImage(this.Image);
2288
System.Drawing.
Image
image = this.Common.ImageLoader.LoadImage(legendItem.Image);
2431
System.Drawing.
Image
image = this.Common.ImageLoader.LoadImage(legendItem.markerImage);
Common\General\NamedImageCollection.cs (3)
85
private System.Drawing.
Image
_image = null;
103
public NamedImage(string name, System.Drawing.
Image
image)
139
public System.Drawing.
Image
Image
Common\Utilities\ImageLoader.cs (13)
138
public System.Drawing.
Image
LoadImage(string imageURL)
149
public System.Drawing.
Image
LoadImage(string imageURL, bool saveImage)
151
System.Drawing.
Image
image = null;
178
image = (System.Drawing.
Image
)_imageData[imageURL];
229
image = (System.Drawing.
Image
)(resourceManager.GetObject(resourceName));
299
image = System.Drawing.
Image
.FromStream(request.GetResponse().GetResponseStream());
346
private System.Drawing.
Image
LoadFromFile(string fileName)
351
return System.Drawing.
Image
.FromFile(fileName);
368
Image
image = LoadImage(name);
384
internal static void GetAdjustedImageSize(
Image
image, Graphics graphics, ref SizeF size)
405
internal static bool DoDpisMatch(
Image
image, Graphics graphics)
410
internal static
Image
GetScaledImage(
Image
image, Graphics graphics)
Common\Utilities\XmlSerializer.cs (13)
668
internal static string ImageToString(System.Drawing.
Image
image)
693
internal static System.Drawing.
Image
ImageFromString(string data)
714
System.Drawing.
Image
tempImage = System.Drawing.
Image
.FromStream(imageStream);
895
pi.PropertyType == typeof(System.Drawing.
Image
))
1789
System.Drawing.
Image
image = obj as System.Drawing.
Image
;
2178
else if(pi.PropertyType == typeof(System.Drawing.
Image
))
2756
else if(obj is System.Drawing.
Image
)
2760
((System.Drawing.
Image
)obj).Save(imageStream, ((System.Drawing.
Image
)obj).RawFormat);
3181
else if(pi.PropertyType == typeof(System.Drawing.
Image
))
3193
objValue = new Bitmap(System.Drawing.
Image
.FromStream(imageStream)); // !!! .Net bug when image source stream is closed - can create brush using the image
WebForm\ChartWebControl.cs (2)
1137
System.Drawing.
Image
chartImage = this.chartPicture.GetImage();
1209
System.Drawing.
Image
image = chartPicture.GetImage();
System.Web.Entity.Design (1)
System\Data\WebControls\Design\Util\TaskFormBase.cs (1)
55
protected void SetGlyph(System.Drawing.
Image
value)
System.Windows.Forms (230)
winforms\Managed\System\WinForms\AxHost.cs (11)
373
public override
Image
BackgroundImage {
4745
private static Object GetPICTDESCFromPicture(
Image
image) {
4766
protected static object GetIPictureFromPicture(
Image
image) {
4792
protected static object GetIPictureDispFromPicture(
Image
image) {
4805
protected static
Image
GetPictureFromIPicture(object picture) {
4827
protected static
Image
GetPictureFromIPictureDisp(object picture) {
4844
private static
Image
GetPictureFromParams(object pict, IntPtr handle, int type, IntPtr paletteHandle, int width, int height) {
4847
return(
Image
)(Icon.FromHandle(handle)).Clone();
4852
return(
Image
)(new Metafile(handle, header, false)).Clone();
4854
return(
Image
)(new Metafile(handle, false)).Clone();
4856
return
Image
.FromHbitmap(handle, paletteHandle);
winforms\Managed\System\WinForms\ButtonBase.cs (3)
43
private
Image
image;
325
public
Image
Image {
471
/// Gets or sets the <see cref='System.Windows.Forms.ImageList'/> that contains the <see cref='System.Drawing.
Image
'/> displayed on a button control.
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (1)
558
internal virtual void DrawImageCore(Graphics graphics,
Image
image, Rectangle imageBounds, Point imageStart, LayoutData layout) {
winforms\Managed\System\WinForms\ButtonRenderer.cs (3)
192
public static void DrawButton(Graphics g, Rectangle bounds,
Image
image, Rectangle imageBounds, bool focused, PushButtonState state) {
219
public static void DrawButton(Graphics g, Rectangle bounds, string buttonText, Font font,
Image
image, Rectangle imageBounds, bool focused, PushButtonState state) {
231
public static void DrawButton(Graphics g, Rectangle bounds, string buttonText, Font font, TextFormatFlags flags,
Image
image, Rectangle imageBounds, bool focused, PushButtonState state) {
winforms\Managed\System\WinForms\CheckBoxRenderer.cs (2)
178
public static void DrawCheckBox(Graphics g, Point glyphLocation, Rectangle textBounds, string checkBoxText, Font font,
Image
image, Rectangle imageBounds, bool focused, CheckBoxState state) {
190
public static void DrawCheckBox(Graphics g, Point glyphLocation, Rectangle textBounds, string checkBoxText, Font font, TextFormatFlags flags,
Image
image, Rectangle imageBounds, bool focused, CheckBoxState state) {
winforms\Managed\System\WinForms\Clipboard.cs (3)
410
public static
Image
GetImage() {
413
return dataObject.GetData(DataFormats.Bitmap, true) as
Image
;
533
public static void SetImage(
Image
image) {
winforms\Managed\System\WinForms\ComboBox.cs (1)
329
public override
Image
BackgroundImage {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PictureConverter.cs (1)
78
lastManaged =
Image
.FromHbitmap(handle);
winforms\Managed\System\WinForms\Control.cs (2)
1153
public virtual
Image
BackgroundImage {
1155
return (
Image
)Properties.GetObject(PropBackgroundImage);
winforms\Managed\System\WinForms\ControlPaint.cs (10)
74
internal static Rectangle CalculateBackgroundImageRectangle(Rectangle bounds,
Image
backgroundImage, ImageLayout imageLayout) {
446
internal static void DrawBackgroundImage(Graphics g,
Image
backgroundImage, Color backColor, ImageLayout backgroundImageLayout, Rectangle bounds, Rectangle clipRect) {
449
internal static void DrawBackgroundImage(Graphics g,
Image
backgroundImage, Color backColor, ImageLayout backgroundImageLayout, Rectangle bounds, Rectangle clipRect, Point scrollOffset) {
453
internal static void DrawBackgroundImage(Graphics g,
Image
backgroundImage, Color backColor, ImageLayout backgroundImageLayout, Rectangle bounds, Rectangle clipRect, Point scrollOffset, RightToLeft rightToLeft) {
1500
internal static void DrawImageColorized(Graphics graphics,
Image
image, Rectangle destination,
1506
internal static bool IsImageTransparent(
Image
backgroundImage) {
1515
internal static void DrawImageReplaceColor(Graphics g,
Image
image, Rectangle dest, Color oldColor, Color newColor) {
1529
private static void DrawImageColorized(Graphics graphics,
Image
image, Rectangle destination,
1545
public static void DrawImageDisabled(Graphics graphics,
Image
image, int x, int y, Color background) {
1553
internal static void DrawImageDisabled(Graphics graphics,
Image
image, Rectangle imageBounds, Color background, bool unscaledImage) {
winforms\Managed\System\WinForms\DataGrid.cs (1)
2530
public override
Image
BackgroundImage {
winforms\Managed\System\WinForms\DataGridView.cs (1)
1331
public override
Image
BackgroundImage
winforms\Managed\System\WinForms\DataGridViewDataConnection.cs (3)
998
TypeConverter imageTypeConverter = TypeDescriptor.GetConverter(typeof(
Image
));
1003
else if (typeof(System.Drawing.
Image
).IsAssignableFrom(type) || imageTypeConverter.CanConvertFrom(type))
1028
TypeConverter imageTypeConverter = TypeDescriptor.GetConverter(typeof(
Image
));
winforms\Managed\System\WinForms\DataGridViewImageCell.cs (8)
26
private static Type defaultTypeImage = typeof(System.Drawing.
Image
);
452
Image
img = formattedValue as
Image
;
480
Image
img = formattedValue as
Image
;
613
Image
image = owningImageColumn.Image;
845
Image
img = formattedValue as
Image
;
winforms\Managed\System\WinForms\DataGridViewImageColumn.cs (2)
23
private
Image
image;
158
public
Image
Image
winforms\Managed\System\WinForms\DataObject.cs (8)
354
public virtual
Image
GetImage() {
355
return GetData(DataFormats.Bitmap, true) as
Image
;
423
public virtual void SetImage(
Image
image) {
905
&& data is
Image
) {
1631
Image
clipboardImage = null;
1635
clipboardImage =
Image
.FromHbitmap(medium.unionmember);
1642
Image
firstImage = clipboardImage;
1643
clipboardImage = (
Image
)clipboardImage.Clone();
winforms\Managed\System\WinForms\DateTimePicker.cs (1)
189
public override
Image
BackgroundImage {
winforms\Managed\System\WinForms\ImageList.cs (25)
446
bitmap = new Bitmap((
Image
)original.image);
979
if (!(image is Icon) && !(image is
Image
)) {
1136
public
Image
this[int index] {
1195
if (value is
Image
) {
1196
this[index] = (
Image
)value;
1208
public
Image
this[string key] {
1234
public void Add(string key,
Image
image) {
1269
if (value is
Image
) {
1270
Add((
Image
)value);
1294
public void Add(
Image
value) {
1308
public int Add(
Image
value, Color transparentColor) {
1375
public void AddRange(
Image
[] images) {
1380
foreach(
Image
image in images) {
1392
public int AddStrip(
Image
value) {
1434
public bool Contains(
Image
image) {
1441
if (image is
Image
) {
1442
return Contains((
Image
)image);
1462
public int IndexOf(
Image
image) {
1469
if (image is
Image
) {
1470
return IndexOf((
Image
)image);
1546
Image
[] images = new
Image
[Count];
1558
public void Remove(
Image
image) {
1565
if (image is
Image
) {
1566
Remove((
Image
)image);
winforms\Managed\System\WinForms\Label.cs (10)
217
public override
Image
BackgroundImage {
455
public
Image
Image {
459
Image
image = (
Image
)Properties.GetObject(PropImage);
1066
Image
image = (
Image
)Properties.GetObject(PropImage);
1086
protected Rectangle CalcImageRenderBounds(
Image
image, Rectangle r, ContentAlignment align) {
1189
/// Draws an <see cref='System.Drawing.
Image
'/> within the specified bounds.
1192
protected void DrawImage(System.Drawing.Graphics g,
Image
image, Rectangle r, ContentAlignment align) {
1518
Image
i = this.Image;
winforms\Managed\System\WinForms\LinkLabel.cs (1)
1284
Image
i = this.Image;
winforms\Managed\System\WinForms\ListBox.cs (1)
207
public override
Image
BackgroundImage {
winforms\Managed\System\WinForms\MDIClient.cs (3)
63
public override
Image
BackgroundImage {
65
Image
result = base.BackgroundImage;
83
Image
backgroundImage = BackgroundImage;
winforms\Managed\System\WinForms\MDIControlStrip.cs (2)
129
private
Image
GetTargetWindowIcon() {
130
Image
systemIcon = null;
winforms\Managed\System\WinForms\MenuStrip.cs (1)
182
protected internal override ToolStripItem CreateDefaultItem(string text,
Image
image, EventHandler onClick) {
winforms\Managed\System\WinForms\MonthCalendar.cs (1)
326
public override
Image
BackgroundImage {
winforms\Managed\System\WinForms\PictureBox.cs (16)
52
private
Image
image;
67
private
Image
initialImage;
68
private
Image
errorImage;
81
private
Image
defaultInitialImage = null;
82
private
Image
defaultErrorImage = null;
85
private static
Image
defaultInitialImageForThread = null;
88
private static
Image
defaultErrorImageForThread = null;
284
public
Image
ErrorImage {
381
public
Image
Image {
485
public
Image
InitialImage {
519
private void InstallNewImage(
Image
value,
579
Image
img;
589
img =
Image
.FromStream(localImageStreamReader.BaseStream);
596
img =
Image
.FromStream(uriImageStream);
702
Image
img = ErrorImage;
710
img =
Image
.FromStream(tempDownloadStream);
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (1)
785
public override
Image
BackgroundImage {
winforms\Managed\System\WinForms\ProgressBar.cs (1)
131
public override
Image
BackgroundImage {
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
387
public override
Image
BackgroundImage {
winforms\Managed\System\WinForms\PropertyGridInternal\DropDownButton.cs (1)
213
internal override void DrawImageCore(Graphics graphics,
Image
image, Rectangle imageBounds, Point imageStart, ButtonBaseAdapter.LayoutData layout) {
winforms\Managed\System\WinForms\RadioButtonRenderer.cs (3)
165
public static void DrawRadioButton(Graphics g, Point glyphLocation, Rectangle textBounds, string radioButtonText, Font font,
Image
image, Rectangle imageBounds, bool focused, RadioButtonState state) {
179
public static void DrawRadioButton(Graphics g, Point glyphLocation, Rectangle textBounds, string radioButtonText, Font font, TextFormatFlags flags,
Image
image, Rectangle imageBounds, bool focused, RadioButtonState state) {
183
internal static void DrawRadioButton(Graphics g, Point glyphLocation, Rectangle textBounds, string radioButtonText, Font font, TextFormatFlags flags,
Image
image, Rectangle imageBounds, bool focused, RadioButtonState state, IntPtr hWnd) {
winforms\Managed\System\WinForms\RichTextBox.cs (1)
244
public override
Image
BackgroundImage {
winforms\Managed\System\WinForms\ScrollBar.cs (1)
135
public override
Image
BackgroundImage {
winforms\Managed\System\WinForms\SplitContainer.cs (1)
301
public override
Image
BackgroundImage {
winforms\Managed\System\WinForms\Splitter.cs (1)
163
public override
Image
BackgroundImage {
winforms\Managed\System\WinForms\StatusBar.cs (1)
164
public override
Image
BackgroundImage {
winforms\Managed\System\WinForms\StatusStrip.cs (1)
264
protected internal override ToolStripItem CreateDefaultItem(string text,
Image
image, EventHandler onClick) {
winforms\Managed\System\WinForms\TabControl.cs (1)
233
public override
Image
BackgroundImage {
winforms\Managed\System\WinForms\TabRenderer.cs (3)
127
public static void DrawTabItem(Graphics g, Rectangle bounds,
Image
image, Rectangle imageRectangle, bool focused, TabItemState state) {
149
public static void DrawTabItem(Graphics g, Rectangle bounds, string tabItemText, Font font,
Image
image, Rectangle imageRectangle, bool focused, TabItemState state) {
161
public static void DrawTabItem(Graphics g, Rectangle bounds, string tabItemText, Font font, TextFormatFlags flags,
Image
image, Rectangle imageRectangle, bool focused, TabItemState state) {
winforms\Managed\System\WinForms\TextBoxBase.cs (1)
315
public override
Image
BackgroundImage {
winforms\Managed\System\WinForms\ToolBar.cs (1)
265
public override
Image
BackgroundImage {
winforms\Managed\System\WinForms\ToolStrip.cs (3)
1077
/// Gets or sets the <see cref='System.Windows.Forms.ImageList'/> that contains the <see cref='System.Drawing.
Image
'/> displayed on a label control.
1967
protected internal virtual ToolStripItem CreateDefaultItem(string text,
Image
image, EventHandler onClick) {
2776
/// Gets or sets the <see cref='System.Windows.Forms.ImageList'/> that contains the <see cref='System.Drawing.
Image
'/> displayed on a label control
winforms\Managed\System\WinForms\ToolStripButton.cs (4)
39
public ToolStripButton(
Image
image):base(null,image,null) {
42
public ToolStripButton(string text,
Image
image):base(text,image,null) {
45
public ToolStripButton(string text,
Image
image, EventHandler onClick):base(text,image,onClick) {
48
public ToolStripButton(string text,
Image
image, EventHandler onClick, string name):base(text,image,onClick,name) {
winforms\Managed\System\WinForms\ToolStripComboBox.cs (1)
174
public override
Image
BackgroundImage {
winforms\Managed\System\WinForms\ToolStripContainer.cs (1)
127
public new
Image
BackgroundImage {
winforms\Managed\System\WinForms\ToolStripControlHost.cs (2)
92
public override
Image
BackgroundImage {
295
public override
Image
Image {
winforms\Managed\System\WinForms\ToolStripDropDownButton.cs (5)
41
public ToolStripDropDownButton(
Image
image):base(null,image,(EventHandler)null) {
44
public ToolStripDropDownButton(string text,
Image
image):base(text,image,(EventHandler)null) {
47
public ToolStripDropDownButton(string text,
Image
image, EventHandler onClick):base(text,image,onClick) {
50
public ToolStripDropDownButton(string text,
Image
image, EventHandler onClick, string name) :base(text,image,onClick,name){
53
public ToolStripDropDownButton(string text,
Image
image, params ToolStripItem[] dropDownItems):base(text,image,dropDownItems) {
winforms\Managed\System\WinForms\ToolStripDropDownItem.cs (3)
39
protected ToolStripDropDownItem(string text,
Image
image, EventHandler onClick) : base(text, image, onClick) {
42
protected ToolStripDropDownItem(string text,
Image
image, EventHandler onClick, string name) : base(text, image, onClick, name) {
46
protected ToolStripDropDownItem(string text,
Image
image, params ToolStripItem[] dropDownItems) : this(text, image, (EventHandler)null) {
winforms\Managed\System\WinForms\ToolStripDropDownMenu.cs (1)
556
protected internal override ToolStripItem CreateDefaultItem(string text,
Image
image, EventHandler onClick) {
winforms\Managed\System\WinForms\ToolStripHighContrastRenderer.cs (2)
349
Image
image = e.Image;
351
if (
Image
.GetPixelFormatSize(image.PixelFormat) > 16) {
winforms\Managed\System\WinForms\ToolStripItem.cs (14)
204
protected ToolStripItem(string text,
Image
image, EventHandler onClick) : this(text, image, onClick, null) {
207
protected ToolStripItem(string text,
Image
image, EventHandler onClick, string name) : this() {
479
public virtual
Image
BackgroundImage {
481
return Properties.GetObject(PropBackgroundImage) as
Image
;
1239
public virtual
Image
Image {
1243
Image
image = (
Image
)Properties.GetObject(PropImage);
1913
Image
image = (
Image
)Properties.GetObject(PropImage);
2093
internal
Image
MirroredImage {
2098
Image
image = Image;
2100
Image
mirroredImage = image.Clone() as
Image
;
2111
return Properties.GetObject(PropMirroredImage) as
Image
;
winforms\Managed\System\WinForms\ToolStripItemCollection.cs (3)
104
public ToolStripItem Add(
Image
image) {
107
public ToolStripItem Add(string text,
Image
image) {
110
public ToolStripItem Add(string text,
Image
image, EventHandler onClick) {
winforms\Managed\System\WinForms\ToolStripItemImageRenderEventArgs.cs (3)
16
private
Image
image = null;
30
public ToolStripItemImageRenderEventArgs(Graphics g, ToolStripItem item,
Image
image, Rectangle imageRectangle) : base(g, item) {
40
public
Image
Image {
winforms\Managed\System\WinForms\ToolStripLabel.cs (5)
47
public ToolStripLabel(
Image
image):base(null,image,null) {
49
public ToolStripLabel(string text,
Image
image):base(text,image,null) {
51
public ToolStripLabel(string text,
Image
image, bool isLink):this(text,image,isLink, null) {
54
public ToolStripLabel(string text,
Image
image, bool isLink, EventHandler onClick):this(text,image,isLink,onClick,null) {
57
public ToolStripLabel(string text,
Image
image, bool isLink, EventHandler onClick, string name) : base(text,image,onClick,name) {
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (11)
52
private static
Image
indeterminateCheckedImage;
55
private static
Image
checkedImage;
80
public ToolStripMenuItem(
Image
image):base(null,image,(EventHandler)null) {
83
public ToolStripMenuItem(string text,
Image
image):base(text,image,(EventHandler)null) {
86
public ToolStripMenuItem(string text,
Image
image, EventHandler onClick):base(text,image,onClick) {
89
public ToolStripMenuItem(string text,
Image
image, EventHandler onClick, string name) : base(text,image,onClick, name){
92
public ToolStripMenuItem(string text,
Image
image, params ToolStripItem[] dropDownItems):base(text,image,dropDownItems) {
95
public ToolStripMenuItem(string text,
Image
image, EventHandler onClick, Keys shortcutKeys):base(text,image,onClick) {
273
internal
Image
CheckedImage {
765
private
Image
GetNativeMenuItemImage(){
1522
Image
image = ownerItem.Image ?? ownerItem.CheckedImage;
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (1)
653
Image
image = e.Image;
winforms\Managed\System\WinForms\ToolStripProgressBar.cs (1)
63
public override
Image
BackgroundImage {
winforms\Managed\System\WinForms\ToolStripRenderer.cs (6)
396
public static
Image
CreateDisabledImage(
Image
normalImage) {
866
Image
image = e.Image;
900
Image
image = e.Image;
1070
private static
Image
CreateDisabledImage(
Image
normalImage, ImageAttributes imgAttrib) {
winforms\Managed\System\WinForms\ToolStripScrollButton.cs (2)
66
private static
Image
DownImage {
84
private static
Image
UpImage {
winforms\Managed\System\WinForms\ToolStripSeparator.cs (2)
53
public override
Image
BackgroundImage {
210
public override
Image
Image {
winforms\Managed\System\WinForms\ToolStripSplitButton.cs (6)
62
public ToolStripSplitButton(
Image
image):base(null,image,(EventHandler)null) {
65
public ToolStripSplitButton(string text,
Image
image):base(text,image,(EventHandler)null) {
68
public ToolStripSplitButton(string text,
Image
image, EventHandler onClick):base(text,image,onClick) {
71
public ToolStripSplitButton(string text,
Image
image, EventHandler onClick, string name) :base(text,image,onClick,name){
74
public ToolStripSplitButton(string text,
Image
image, params ToolStripItem[] dropDownItems):base(text,image,dropDownItems) {
703
public override
Image
Image {
winforms\Managed\System\WinForms\ToolStripStatusLabel.cs (4)
49
public ToolStripStatusLabel(
Image
image):base(null,image,false,null) {
52
public ToolStripStatusLabel(string text,
Image
image):base(text,image,false,null) {
55
public ToolStripStatusLabel(string text,
Image
image, EventHandler onClick):base(text,image,/*isLink=*/false,onClick,null) {
58
public ToolStripStatusLabel(string text,
Image
image, EventHandler onClick, string name) :base(text,image,/*isLink=*/false,onClick, name) {
winforms\Managed\System\WinForms\ToolStripTextBox.cs (1)
64
public override
Image
BackgroundImage {
winforms\Managed\System\WinForms\TrackBar.cs (1)
143
public override
Image
BackgroundImage {
winforms\Managed\System\WinForms\TreeView.cs (5)
228
public override
Image
BackgroundImage {
1886
Image
[] images = new
Image
[stateImageList.Images.Count + 1];
2074
Image
[] images = new
Image
[stateImageList.Images.Count + 1];
winforms\Managed\System\WinForms\UpDownBase.cs (1)
222
public override
Image
BackgroundImage {
winforms\Managed\System\WinForms\VisualStyles\VisualStyleRenderer.cs (1)
374
public void DrawImage(Graphics g, Rectangle bounds,
Image
image) {
winforms\Managed\System\WinForms\WebBrowserBase.cs (1)
1453
public override
Image
BackgroundImage {
System.Windows.Forms.DataVisualization (105)
Common\Annotation\TextAnnotation.cs (1)
933
System.Drawing.
Image
graphicsImage = null;
Common\ChartTypes\AreaChart.cs (4)
86
override public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
88
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
212
override public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
214
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\BarChart.cs (2)
190
virtual public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
192
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\BoxPlotChart.cs (2)
207
virtual public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
209
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\BubbleChart.cs (2)
113
override public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
115
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\ChartTypeRegistry.cs (1)
310
System.Drawing.
Image
GetImage(ChartTypeRegistry registry);
Common\ChartTypes\ColumnChart.cs (2)
99
override public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
101
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\DoughnutChart.cs (2)
56
override public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
58
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\ErrorBarChart.cs (2)
255
virtual public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
257
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\FastLineChart.cs (2)
215
virtual public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
217
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\FastPointChart.cs (2)
216
virtual public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
218
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\FunnelChart.cs (2)
390
virtual public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
392
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\KagiChart.cs (2)
969
override public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
971
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\LineChart.cs (4)
76
override public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
78
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
249
override public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
251
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\PieChart.cs (2)
153
virtual public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
155
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\PointAndFigureChart.cs (2)
906
override public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
908
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\PointChart.cs (2)
255
virtual public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
257
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\RadarChart.cs (2)
243
virtual public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
245
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\RangeChart.cs (4)
90
override public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
92
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
220
override public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
222
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\RenkoChart.cs (2)
654
virtual public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
656
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\StackedAreaChart.cs (2)
389
override public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
391
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\StackedBarChart.cs (2)
358
virtual public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
360
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\StackedColumnChart.cs (2)
353
virtual public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
355
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\StepLineChart.cs (2)
85
override public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
87
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\StockChart.cs (4)
110
override public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
112
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
279
virtual public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
281
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\ChartTypes\ThreeLineBreakChart.cs (2)
649
virtual public System.Drawing.
Image
GetImage(ChartTypeRegistry registry)
651
return (System.Drawing.
Image
)registry.ResourceManager.GetObject(this.Name + "ChartType");
Common\General\ChartGraphics.cs (7)
384
System.Drawing.
Image
image = _common.ImageLoader.LoadImage( name );
422
Image
scaledImage = ImageLoader.GetScaledImage(image, this.Graphics);
708
System.Drawing.
Image
image = _common.ImageLoader.LoadImage( markerImage );
2124
System.Drawing.
Image
labelImage = null;
3523
System.Drawing.
Image
image = _common.ImageLoader.LoadImage( backImage );
4203
System.Drawing.
Image
image = _common.ImageLoader.LoadImage( backImage );
4500
System.Drawing.
Image
image = _common.ImageLoader.LoadImage( backImage );
Common\General\ChartRenderingEngine.cs (2)
161
System.Drawing.
Image
image,
383
System.Drawing.
Image
image,
Common\General\GdiGraphics.cs (3)
118
System.Drawing.
Image
image,
263
System.Drawing.
Image
image,
360
System.Drawing.
Image
image,
Common\General\LegendColumns.cs (3)
2093
System.Drawing.
Image
image = this.Common.ImageLoader.LoadImage(this.Image);
2288
System.Drawing.
Image
image = this.Common.ImageLoader.LoadImage(legendItem.Image);
2431
System.Drawing.
Image
image = this.Common.ImageLoader.LoadImage(legendItem.markerImage);
Common\General\NamedImageCollection.cs (3)
85
private System.Drawing.
Image
_image = null;
103
public NamedImage(string name, System.Drawing.
Image
image)
139
public System.Drawing.
Image
Image
Common\Utilities\ImageLoader.cs (13)
138
public System.Drawing.
Image
LoadImage(string imageURL)
149
public System.Drawing.
Image
LoadImage(string imageURL, bool saveImage)
151
System.Drawing.
Image
image = null;
178
image = (System.Drawing.
Image
)_imageData[imageURL];
229
image = (System.Drawing.
Image
)(resourceManager.GetObject(resourceName));
299
image = System.Drawing.
Image
.FromStream(request.GetResponse().GetResponseStream());
346
private System.Drawing.
Image
LoadFromFile(string fileName)
351
return System.Drawing.
Image
.FromFile(fileName);
368
Image
image = LoadImage(name);
384
internal static void GetAdjustedImageSize(
Image
image, Graphics graphics, ref SizeF size)
405
internal static bool DoDpisMatch(
Image
image, Graphics graphics)
410
internal static
Image
GetScaledImage(
Image
image, Graphics graphics)
Common\Utilities\XmlSerializer.cs (13)
668
internal static string ImageToString(System.Drawing.
Image
image)
693
internal static System.Drawing.
Image
ImageFromString(string data)
714
System.Drawing.
Image
tempImage = System.Drawing.
Image
.FromStream(imageStream);
895
pi.PropertyType == typeof(System.Drawing.
Image
))
1789
System.Drawing.
Image
image = obj as System.Drawing.
Image
;
2178
else if(pi.PropertyType == typeof(System.Drawing.
Image
))
2756
else if(obj is System.Drawing.
Image
)
2760
((System.Drawing.
Image
)obj).Save(imageStream, ((System.Drawing.
Image
)obj).RawFormat);
3181
else if(pi.PropertyType == typeof(System.Drawing.
Image
))
3193
objValue = new Bitmap(System.Drawing.
Image
.FromStream(imageStream)); // !!! .Net bug when image source stream is closed - can create brush using the image
WinForm\ChartWinControl.cs (3)
840
Image
chartImage = this.chartPicture.GetImage();
886
Image
chartImage = this.chartPicture.GetImage();
1138
public override
Image
BackgroundImage
System.Workflow.Activities (19)
Designers\ActivityDesignerResources.cs (3)
83
internal static
Image
GetImage(string resID)
85
Image
image = DR.resourceManager.GetObject(resID) as
Image
;
Designers\StateDesigner.cs (13)
36
internal static readonly
Image
CompletedState = DR.GetImage(DR.CompletedState);
37
internal static readonly
Image
InitialState = DR.GetImage(DR.InitialState);
291
public override
Image
Image
2261
internal static
Image
GetDesignerImage(ActivityDesigner designer)
2263
Image
image = null;
2275
internal static
Image
GetInitialStateDesignerImage(StateDesigner stateDesigner)
2284
internal static
Image
GetCompletedStateDesignerImage(StateDesigner stateDesigner)
2577
private
Image
_initialStateDesignerImage;
2578
private
Image
_completedStateDesignerImage;
2699
public
Image
InitialStateDesignerImage
2711
public
Image
CompletedStateDesignerImage
2723
Image
image = GetImageFromPath(designerTheme, directory, path);
2740
internal static
Image
GetImageFromPath(DesignerTheme designerTheme, string directory, string path)
Designers\StateDesigner.Layouts.cs (3)
475
Image
image = StateDesigner.GetDesignerImage(activityDesigner);
611
Image
image = StateDesigner.GetDesignerImage(activityDesigner);
904
Image
image = this.ActivityDesigner.Image;
System.Workflow.ComponentModel (71)
AuthoringOM\Design\ActivityDesigner.cs (7)
73
private
Image
image;
271
public virtual
Image
Image
683
internal
Image
StockImage
690
Image
designerImage = DesignerTheme.DesignerImage;
1047
public
Image
GetPreviewImage(Graphics compatibleGraphics)
3028
private static
Image
defaultImage = DR.GetImage(DR.SmartTag);
3086
Image
image = designer.Image;
AuthoringOM\Design\DesignerHelpers.cs (6)
130
public static void DrawImage(Graphics graphics,
Image
image, Rectangle destination, DesignerContentAlignment alignment)
138
internal static void DrawImage(Graphics graphics,
Image
image, Rectangle destination, float transparency)
156
public static void DrawImage(Graphics graphics,
Image
image, Rectangle destination, Rectangle source, DesignerContentAlignment alignment, float transparency, bool grayscale)
290
public static void Draw3DButton(Graphics graphics,
Image
image, Rectangle bounds, float transparency, ButtonState buttonState)
1454
Image
image = GetImageFromPath(designerTheme, directory, path);
1471
internal static
Image
GetImageFromPath(DesignerTheme designerTheme, string directory, string path)
AuthoringOM\Design\DesignerInterfaces.cs (3)
772
private
Image
image;
789
public DesignerAction(ActivityDesigner activityDesigner, int actionId, string text,
Image
image)
823
public
Image
Image
AuthoringOM\Design\DesignerResources.cs (3)
243
internal static
Image
GetImage(string resID)
245
Image
image = DR.resourceManager.GetObject(resID) as
Image
;
AuthoringOM\Design\DesignerView.cs (4)
40
private
Image
image;
50
public DesignerView(int viewId, string text,
Image
image)
62
public DesignerView(int viewId, string text,
Image
image, ActivityDesigner associatedDesigner)
96
public
Image
Image
AuthoringOM\Design\DesignerWidgets.cs (10)
28
private
Image
image;
36
public ItemInfo(int id,
Image
image, string text)
61
public
Image
Image
2689
Image
scrollButtonImage = ActivityPreviewDesignerTheme.LeftScrollImageUp;
2728
Image
itemImage = this.items[itemIndex].Image;
2841
Image
scrollButtonImage = ActivityPreviewDesignerTheme.LeftScrollImage;
3191
private
Image
previewedActivityImage = null;
3416
Image
previewModeImage = (PreviewMode) ? ActivityPreviewDesignerTheme.PreviewButtonImage : ActivityPreviewDesignerTheme.EditButtonImage;
3454
Image
previewedActivityImage = GeneratePreview(graphics);
3539
private
Image
GeneratePreview(Graphics graphics)
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (1)
1071
Image
image = memberTypes.Images[i];
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (3)
732
Image
image = ActivityToolboxItem.GetToolboxImage(type);
737
Image
standardImage = DR.GetImage(DR.Activity) as
Image
;
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (1)
787
this.artifactImages.Images.AddStrip((
Image
)TypeBrowserDialog.ResMgr.GetObject("IDB_ARTIFACTIMAGES"));
AuthoringOM\Design\MessageFilters\AutoScrollExpandMessageFilter.cs (1)
203
Image
indicator = AmbientTheme.ScrollIndicatorImage;
AuthoringOM\Design\MessageFilters\DragDropManager.cs (1)
25
private
Image
dragImage = null;
AuthoringOM\Design\MessageFilters\DynamicActionMessageFilter.cs (6)
543
Image
buttonImage = button.StateImages[0];
557
Image
buttonImage = this.buttons[i].StateImages[(int)this.buttons[i].State];
599
private
Image
[] stateImages = null;
603
internal ActionButton(
Image
[] stateImages)
614
internal
Image
[] StateImages
630
foreach (
Image
image in this.stateImages)
AuthoringOM\Design\MessageFilters\FreeFormDragDropManager.cs (3)
22
private List<
Image
> draggedDesignerImages = null;
188
List<
Image
> imageList = new List<
Image
>();
AuthoringOM\Design\SequentialWorkflowHeaderFooter.cs (2)
38
private
Image
image;
57
public virtual
Image
Image
AuthoringOM\Design\SequentialWorkflowRootDesigner.cs (3)
40
private static readonly
Image
HeaderImage = DR.GetImage(DR.StartWorkflow);
41
private static readonly
Image
FooterImage = DR.GetImage(DR.EndWorkflow);
64
public override
Image
Image
AuthoringOM\Design\StructuredCompositeActivityDesigner.cs (2)
631
Image
image = smartVerb.Properties[DesignerUserDataKeys.Image] as
Image
;
AuthoringOM\Design\Themes.cs (11)
996
private
Image
designerImage;
1338
public
Image
DesignerImage
1446
private
Image
watermarkImage;
1643
public
Image
WatermarkImage
1930
internal static readonly
Image
ConfigErrorImage = DR.GetImage(DR.ConfigError);
1931
internal static readonly
Image
ScrollIndicatorImage = DR.GetImage(DR.ArrowLeft);
1932
internal static readonly
Image
DropIndicatorImage = DR.GetImage(DR.DropShapeShort);
1933
internal static readonly
Image
LockImage = DR.GetImage(DR.PreviewIndicator);
1934
internal static readonly
Image
ReadOnlyImage = DR.GetImage(DR.ReadOnly);
2030
private
Image
watermarkImage;
3047
public
Image
WorkflowWatermarkImage
AuthoringOM\Design\WinOEToolBoxItem.cs (2)
95
public static
Image
GetToolboxImage(Type activityType)
100
Image
toolBoxImage = null;
AuthoringOM\Design\WorkflowView.cs (1)
1850
ActionButton fitallButton = new ActionButton(new
Image
[] { DR.GetImage(DR.FitToScreen) as Bitmap });
AuthoringOM\Serializer\ActivityCodeDomSerializationManager.cs (1)
226
objectType.Namespace != null && objectType.Namespace.Equals(typeof(System.Drawing.
Image
).Namespace))