90 references to Height
System.Drawing (12)
commonui\System\Drawing\Bitmap.cs (5)
313
public Bitmap(Image original) : this(original, original.Width, original.
Height
) {
423
if(status == 2 /* invalid parameter*/ && (this.Width >= Int16.MaxValue || this.
Height
>= Int16.MaxValue)) {
554
if (
Height
> 0 && Width > 0)
684
if (y < 0 || y >=
Height
) {
711
if (y < 0 || y >=
Height
) {
commonui\System\Drawing\Design\ToolboxItem.cs (1)
758
if ((itemBitmap.Width != iconWidth || itemBitmap.
Height
!= iconHeight)) {
commonui\System\Drawing\Graphics.cs (1)
2898
int height = Math.Min(rect.Height, image.
Height
);
commonui\System\Drawing\Icon.cs (1)
1023
bmpData = tmpBitmap.LockBits(new Rectangle(0,0, tmpBitmap.Width, tmpBitmap.
Height
), ImageLockMode.ReadOnly, tmpBitmap.PixelFormat);
commonui\System\Drawing\Image.cs (1)
821
return new Size(Width,
Height
);
commonui\System\Drawing\ImageConverter.cs (1)
147
image = new Bitmap(image, image.Width, image.
Height
);
commonui\System\Drawing\ToolboxBitmapAttribute.cs (2)
467
Color bottomLeft = img.GetPixel(0, img.
Height
- 1);
471
img.SetPixel(0, img.
Height
- 1, newBottomLeft);
System.Web.DataVisualization (17)
Common\General\ChartGraphics.cs (12)
401
Bitmap bitmap = new Bitmap(image.Width, image.
Height
);
406
graphics.FillRectangle(backBrush, 0, 0, image.Width, image.
Height
);
408
backFilledBrush= new TextureBrush( bitmap, new RectangleF(0,0,image.Width,image.
Height
), attrib);
419
textureBrush = new TextureBrush(image, new RectangleF(0, 0, image.Width, image.
Height
), attrib);
423
textureBrush = new TextureBrush(scaledImage, new RectangleF(0, 0, scaledImage.Width, scaledImage.
Height
), attrib);
749
0, 0, image.Width, image.
Height
,
757
0, 0, image.Width, image.
Height
,
2332
0, 0, labelImage.Width, labelImage.
Height
,
3598
(backImageWrapMode == ChartImageWrapMode.Unscaled) ? imageRect.Height * image.
Height
/ imageAbsSize.Height : image.
Height
,
4271
0, 0, image.Width, image.
Height
,
4569
0, 0, image.Width, image.
Height
,
Common\General\LegendColumns.cs (2)
2197
image.
Height
,
2331
image.
Height
,
Common\Utilities\ImageLoader.cs (3)
390
size.Height = image.
Height
* graphics.DpiY / image.VerticalResolution;
395
size.Height = image.
Height
;
413
(int)(image.
Height
* graphics.DpiY / image.VerticalResolution)));
System.Web.Mobile (4)
UI\MobileControls\Design\FormDesigner.cs (1)
169
_backgroundBmpFile.UnderlyingBitmap.
Height
+ 8
UI\MobileControls\Design\PanelDesigner.cs (1)
143
_backgroundBmpFile.UnderlyingBitmap.
Height
+ 8
UI\MobileControls\Design\Util\ImageCreator.cs (2)
104
messageHeight = (textHeight < (errorIcon.
Height
+ 6)) ?
105
(errorIcon.
Height
+ 6) : textHeight + 3;
System.Windows.Forms (30)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (1)
586
graphics.DrawImage(image, imageBounds.X, imageBounds.Y, image.Width, image.
Height
);
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxBaseAdapter.cs (1)
245
cacheCheckImage.
Height
== fullSize.Height) {
winforms\Managed\System\WinForms\ControlPaint.cs (9)
155
header.biHeight = bitmap.
Height
;
203
byte[] enoughBits = new byte[bitmap.Width * bitmap.
Height
];
256
int height = bitmap.
Height
;
519
g.DrawImage(backgroundImage, imageRectangle, 0, 0, backgroundImage.Width, backgroundImage.
Height
, GraphicsUnit.Pixel, imageAttrib);
1269
if (checkImage == null || checkImage.Width != rectangle.Width || checkImage.
Height
!= rectangle.Height) {
1524
g.DrawImage(image, dest, 0, 0, image.Width, image.
Height
, GraphicsUnit.Pixel, attrs, null, IntPtr.Zero);
1536
graphics.DrawImage(image, destination, 0,0, image.Width, image.
Height
,
1546
DrawImageDisabled(graphics, image, new Rectangle(x, y, image.Width, image.
Height
), background, false);
1596
using (Bitmap bmp = new Bitmap(image.Width, image.
Height
)) {
winforms\Managed\System\WinForms\DataGridParentRows.cs (2)
775
int bmpY = bounds.Y + (bounds.Height - b.
Height
) / 2;
776
Rectangle bmpRect = new Rectangle(bmpX, bmpY, b.Width, b.
Height
);
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (1)
1423
if (checkImage == null || checkImage.Width != fullSize.Width || checkImage.
Height
!= fullSize.Height)
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (2)
860
bmFlipXPThemes.
Height
< backgroundBounds.Height || bmFlipXPThemes.
Height
> 2 * backgroundBounds.Height)
winforms\Managed\System\WinForms\DataGridViewImageCell.cs (7)
501
preferredSize = new Size(0, Math.Min(img.
Height
, Decimal.ToInt32((decimal)img.
Height
* imgWidthAllowed / img.Width)));
530
if (imgHeightAllowed <= 0 || img.
Height
== 0)
536
preferredSize = new Size(Math.Min(img.Width, Decimal.ToInt32((decimal)img.Width * imgHeightAllowed / img.
Height
)), 0);
561
preferredSize = new Size(img.Width, img.
Height
);
884
g.DrawImage(img, imgBounds, 0, 0, img.Width, img.
Height
, GraphicsUnit.Pixel, attr);
898
Rectangle imgBounds2 = ImgBounds(imgBounds, (img == null) ? ico.Width : img.Width, (img == null) ? ico.Height : img.
Height
, imageLayout, cellStyle);
winforms\Managed\System\WinForms\ImageList.cs (1)
1402
if (value.
Height
!= owner.ImageSize.Height)
winforms\Managed\System\WinForms\Label.cs (1)
1199
g.DrawImage(image, loc.X, loc.Y, image.Width, image.
Height
);
winforms\Managed\System\WinForms\PictureBox.cs (1)
456
result.Y += (result.Height - image.
Height
) / 2;
winforms\Managed\System\WinForms\ToolStripHighContrastRenderer.cs (1)
382
g.DrawImage(image, imageRect, 0, 0, image.Width, image.
Height
, GraphicsUnit.Pixel, attrs);
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (2)
821
g.DrawRectangle(SystemPens.Control, 0, 0, image.Width - 1, image.
Height
- 1);
1497
int imageHeight = ownerItem.CheckedImage.
Height
;
winforms\Managed\System\WinForms\ToolStripScrollButton.cs (1)
153
preferredSize.Height = (Label.Image != null) ? Label.Image.
Height
+ 4 : 0;
System.Windows.Forms.DataVisualization (18)
Common\General\ChartGraphics.cs (12)
401
Bitmap bitmap = new Bitmap(image.Width, image.
Height
);
406
graphics.FillRectangle(backBrush, 0, 0, image.Width, image.
Height
);
408
backFilledBrush= new TextureBrush( bitmap, new RectangleF(0,0,image.Width,image.
Height
), attrib);
419
textureBrush = new TextureBrush(image, new RectangleF(0, 0, image.Width, image.
Height
), attrib);
423
textureBrush = new TextureBrush(scaledImage, new RectangleF(0, 0, scaledImage.Width, scaledImage.
Height
), attrib);
749
0, 0, image.Width, image.
Height
,
757
0, 0, image.Width, image.
Height
,
2332
0, 0, labelImage.Width, labelImage.
Height
,
3598
(backImageWrapMode == ChartImageWrapMode.Unscaled) ? imageRect.Height * image.
Height
/ imageAbsSize.Height : image.
Height
,
4271
0, 0, image.Width, image.
Height
,
4569
0, 0, image.Width, image.
Height
,
Common\General\LegendColumns.cs (2)
2197
image.
Height
,
2331
image.
Height
,
Common\Utilities\ImageLoader.cs (3)
390
size.Height = image.
Height
* graphics.DpiY / image.VerticalResolution;
395
size.Height = image.
Height
;
413
(int)(image.
Height
* graphics.DpiY / image.VerticalResolution)));
WinForm\ChartWinControl.cs (1)
430
paintBufferBitmap.
Height
< scaleY * ClientRectangle.Height)
System.Workflow.ComponentModel (9)
AuthoringOM\Design\ActivityDesigner.cs (1)
1067
graphics.FillRectangle(transparentBrush, 0, 0, designerImage.Width, designerImage.
Height
);
AuthoringOM\Design\DesignerWidgets.cs (4)
1936
graphics.FillRectangle(backgroundBrush, new Rectangle(0, 0, bitmap.Width, bitmap.
Height
));
1937
graphics.DrawString(this.tabItemList[tabItemIndex].Text, Font, SystemBrushes.ControlText, new Rectangle(0, 0, bitmap.Width, bitmap.
Height
), stringFormat);
3461
stretchFactor = Math.Max(stretchFactor, ((double)previewedActivityImage.
Height
) / maxBitmapSize.Height);
3465
destnRectangle.Height = Convert.ToInt32(Math.Ceiling((float)previewedActivityImage.
Height
/ stretchFactor));
AuthoringOM\Design\MessageFilters\DragDropManager.cs (2)
608
ActivityDesignerPaint.DrawImage(e.Graphics, this.dragImage, new Rectangle(this.dragImagePointInClientCoOrd, this.dragImage.Size), new Rectangle(0, 0, this.dragImage.Width, this.dragImage.
Height
), DesignerContentAlignment.Center, (this.dragImageSnapped) ? 1.0f : 0.5f, WorkflowTheme.CurrentTheme.AmbientTheme.DrawGrayscale);
685
draggedImageGraphics.FillRectangle(backgroundBrush, new Rectangle(0, 0, draggedImage.Width, draggedImage.
Height
));
AuthoringOM\Design\WorkflowView.cs (2)
1668
viewPortGraphics.DrawImage(temporaryBitmap, new Rectangle(-viewPortData.ShadowDepth.Width, -viewPortData.ShadowDepth.Height, memoryBitmap.Width, memoryBitmap.
Height
), 0, 0, memoryBitmap.Width, memoryBitmap.
Height
, GraphicsUnit.Pixel, transparentColorKey);