2 writes to Height
System.Drawing.Common.Tests (2)
System\Drawing\BitmapTests.cs (1)
1203
data.
Height
= invalidParameter;
System\Drawing\Imaging\BitmapDataTests.cs (1)
28
Height
= value
44 references to Height
PresentationFramework-SystemDrawing (1)
SystemDrawingExtension.cs (1)
185
bmData.Stride * (bmData.
Height
- 1) + (bmData.Width * 4),
System.Drawing.Common.Tests (35)
DrawingTest.cs (1)
19
new ReadOnlySpan<byte>((void*)data.Scan0, data.Stride * data.
Height
),
mono\System.Drawing.Imaging\BmpCodecTests.cs (2)
245
Assert.Equal(bmp.Height, data.
Height
);
249
Assert.Equal(183, data.
Height
);
mono\System.Drawing.Imaging\GifCodecTests.cs (2)
112
Assert.Equal(bmp.Height, data.
Height
);
116
Assert.Equal(100, data.
Height
);
mono\System.Drawing.Imaging\IconCodecTests.cs (10)
135
Assert.Equal(bmp.Height, data.
Height
);
138
Assert.Equal(16, data.
Height
);
331
Assert.Equal(bmp.Height, data.
Height
);
334
Assert.Equal(32, data.
Height
);
549
Assert.Equal(bmp.Height, data.
Height
);
552
Assert.Equal(48, data.
Height
);
753
Assert.Equal(bmp.Height, data.
Height
);
756
Assert.Equal(64, data.
Height
);
1528
Assert.Equal(bmp.Height, data.
Height
);
1531
Assert.Equal(96, data.
Height
);
mono\System.Drawing.Imaging\JpegCodecTests.cs (4)
115
Assert.Equal(bmp.Height, data.
Height
);
118
Assert.Equal(100, data.
Height
);
230
Assert.Equal(bmp.Height, data.
Height
);
234
Assert.Equal(183, data.
Height
);
mono\System.Drawing.Imaging\PngCodecTests.cs (5)
148
Assert.Equal(bmp.Height, data.
Height
);
152
Assert.Equal(384, data.
Height
);
300
Assert.Equal(bmp.Height, data.
Height
);
304
Assert.Equal(100, data.
Height
);
473
Assert.Equal(bmp.Height, data.
Height
);
mono\System.Drawing.Imaging\TiffCodecTests.cs (2)
122
Assert.Equal(bmp.Height, data.
Height
);
126
Assert.Equal(183, data.
Height
);
mono\System.Drawing\BitmapTests.cs (4)
94
Assert.Equal(4, data.
Height
);
414
pixel_data = new byte[data.
Height
* scan_size];
416
for (int y = 0; y < data.
Height
; y++)
511
for (int y = 0; y < bd.
Height
; y++)
System\Drawing\BitmapTests.cs (1)
1069
Assert.Equal(rectangle.Height, data.
Height
);
System\Drawing\GraphicsTests.cs (2)
2906
ReadOnlySpan<byte> bytes = new((byte*)data.Scan0, data.Stride * data.
Height
);
2920
ReadOnlySpan<byte> bytes = new((byte*)data.Scan0, data.Stride * data.
Height
);
System\Drawing\Imaging\BitmapDataTests.cs (2)
12
Assert.Equal(0, bd.
Height
);
30
Assert.Equal(value, bd.
Height
);
System.Windows.Forms (4)
System\Windows\Forms\Controls\ImageList\ImageList.cs (4)
554
Debug.Assert(targetData.
Height
== sourceData.
Height
);
560
for (int i = 0; i < targetData.
Height
; i++)
578
for (int i = 0; i < bmpData.
Height
; i++)
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DesignerUtils.cs (1)
675
int pixels = data.
Height
* data.Width;
System.Windows.Forms.Tests (2)
System\Windows\Forms\DataObject_BitmapBinderTests.cs (2)
73
ReadOnlySpan<byte> originalBytes = new((byte*)originalData.Scan0, originalData.Stride * originalData.
Height
);
74
ReadOnlySpan<byte> deserializedBytes = new((byte*)deserializedData.Scan0, deserializedData.Stride * deserializedData.
Height
);
System.Windows.Forms.UI.IntegrationTests (1)
Infra\ScreenRecordService.cs (1)
252
int totalLockedPixels = stridePixels * lockedBitmaps[0].data.
Height
;