6 writes to Height
System.Drawing.Common (2)
System\Drawing\Printing\PageSettings.cs (2)
163printableArea.Height = (float)PInvokeCore.GetDeviceCaps(hdc, GET_DEVICE_CAPS_INDEX.VERTRES) * 100 / dpiY; 170printableArea.Height = (float)PInvokeCore.GetDeviceCaps(hdc, GET_DEVICE_CAPS_INDEX.HORZRES) * 100 / dpiX;
System.Drawing.Primitives (3)
System\Drawing\RectangleF.cs (3)
109Height = value.Height; 236Height += 2 * y; 264Height = result.Height;
System.Windows.Forms (1)
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
1075focusRectangle.Height = requiredSize.Height;
55 references to Height
Microsoft.Private.Windows.Core (1)
System\Private\Windows\BinaryFormat\BinaryFormatWriter.cs (1)
230value.Height).Write(writer);
System.Drawing.Common (27)
System\Drawing\Bitmap.cs (2)
189if (rect.Width == 0 || rect.Height == 0) 197rect.X, rect.Y, rect.Width, rect.Height,
System\Drawing\Drawing2D\GraphicsPath.cs (4)
374AddArc(rect.X, rect.Y, rect.Width, rect.Height, startAngle, sweepAngle); 614rect.X, rect.Y, rect.Width, rect.Height).ThrowIfFailed(); 701AddEllipse(rect.X, rect.Y, rect.Width, rect.Height); 916srcRect.X, srcRect.Y, srcRect.Width, srcRect.Height,
System\Drawing\Drawing2D\LinearGradientBrush.cs (2)
34if (rect.Width == 0.0 || rect.Height == 0.0) 61if (rect.Width == 0.0 || rect.Height == 0.0)
System\Drawing\Graphics.cs (16)
533CheckStatus(PInvokeGdiPlus.GdipSetClipRect(NativeGraphics, rect.X, rect.Y, rect.Width, rect.Height, (GdiPlus.CombineMode)combineMode)); 556rect.X, rect.Y, rect.Width, rect.Height, 609public bool IsVisible(RectangleF rect) => IsVisible(rect.X, rect.Y, rect.Width, rect.Height); 667DrawArc(pen, rect.X, rect.Y, rect.Width, rect.Height, startAngle, sweepAngle); 713public void DrawRectangle(Pen pen, RectangleF rect) => DrawRectangle(pen, rect.X, rect.Y, rect.Width, rect.Height); 804public void DrawEllipse(Pen pen, RectangleF rect) => DrawEllipse(pen, rect.X, rect.Y, rect.Width, rect.Height); 830DrawPie(pen, rect.X, rect.Y, rect.Width, rect.Height, startAngle, sweepAngle); 1216public void FillRectangle(Brush brush, RectangleF rect) => FillRectangle(brush, rect.X, rect.Y, rect.Width, rect.Height); 1370public void FillEllipse(Brush brush, RectangleF rect) => FillEllipse(brush, rect.X, rect.Y, rect.Width, rect.Height); 1419FillPie(brush, rect.X, rect.Y, rect.Width, rect.Height, startAngle, sweepAngle); 2006public void DrawImage(Image image, RectangleF rect) => DrawImage(image, rect.X, rect.Y, rect.Width, rect.Height); 2097srcRect.X, srcRect.Y, srcRect.Width, srcRect.Height, 2114destRect.X, destRect.Y, destRect.Width, destRect.Height, 2115srcRect.X, srcRect.Y, srcRect.Width, srcRect.Height, 2143srcRect.X, srcRect.Y, srcRect.Width, srcRect.Height, 2188srcRect.X, srcRect.Y, srcRect.Width, srcRect.Height,
System\Drawing\Region.cs (1)
310rect.X, rect.Y, rect.Width, rect.Height,
System\Drawing\TextureBrush.cs (2)
49dstRect.X, dstRect.Y, dstRect.Width, dstRect.Height, &brush).ThrowIfFailed(); 73dstRect.Height,
System.Drawing.Primitives (21)
System\Drawing\Rectangle.cs (3)
185(int)Math.Ceiling(value.Height)); 200(int)value.Height); 215(int)Math.Round(value.Height));
System\Drawing\RectangleF.cs (18)
105readonly get => new SizeF(Width, Height); 177public readonly float Bottom => Y + Height; 180/// Tests whether this <see cref='System.Drawing.RectangleF'/> has a <see cref='System.Drawing.RectangleF.Width'/> or a <see cref='System.Drawing.RectangleF.Height'/> of 0. 183public readonly bool IsEmpty => (Width <= 0) || (Height <= 0); 197left.X == right.X && left.Y == right.Y && left.Width == right.Width && left.Height == right.Height; 208public readonly bool Contains(float x, float y) => X <= x && x < X + Width && Y <= y && y < Y + Height; 221(X <= rect.X) && (rect.X + rect.Width <= X + Width) && (Y <= rect.Y) && (rect.Y + rect.Height <= Y + Height); 226public override readonly int GetHashCode() => HashCode.Combine(X, Y, Width, Height); 264Height = result.Height; 276float y2 = Math.Min(a.Y + a.Height, b.Y + b.Height); 290(rect.X < X + Width) && (X < rect.X + rect.Width) && (rect.Y < Y + Height) && (Y < rect.Y + rect.Height); 300float y2 = Math.Max(a.Y + a.Height, b.Y + b.Height); 329public override readonly string ToString() => $"{{X={X},Y={Y},Width={Width},Height={Height}}}";
System.Private.Windows.Core (1)
System\Private\Windows\BinaryFormat\BinaryFormatWriter.cs (1)
230value.Height).Write(writer);
System.Private.Windows.Core.TestUtilities (4)
FluentAssertions\FluentAssertExtensions.cs (4)
43parent.Subject.Height.Should().BeApproximately(expectedValue.Height, precision, because, becauseArgs); 66&& ComparisonHelpers.EqualsFloating(expected.Height, actual.Height, precision),
System.Windows.Forms (1)
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
1073if (requiredSize.Height < focusRectangle.Height)