43 references to PixelHeight
PresentationCore (21)
System\Windows\Media\Imaging\BitmapEncoder.cs (1)
584
frame.
PixelHeight
System\Windows\Media\Imaging\BitmapImage.cs (7)
378
sourceRect.Height == source.
PixelHeight
)
405
finalHeight = source.
PixelHeight
;
409
finalWidth = (source.PixelWidth * finalHeight) / source.
PixelHeight
;
413
finalHeight = (source.
PixelHeight
* finalWidth) / source.PixelWidth;
416
if (finalWidth != source.PixelWidth || finalHeight != source.
PixelHeight
||
425
if (finalWidth != source.PixelWidth || finalHeight != source.
PixelHeight
)
428
int oldHeight = source.
PixelHeight
;
System\Windows\Media\Imaging\BitmapSource.cs (6)
451
return ImageSource.PixelsToDIPs(this.DpiY, this.
PixelHeight
);
692
sourceRect.Height =
PixelHeight
;
695
ArgumentOutOfRangeException.ThrowIfGreaterThan(sourceRect.Height,
PixelHeight
, "sourceRect.Height");
1453
_pixelHeight = sourceBitmap.
PixelHeight
;
1705
puiHeight = bitmapSource.
PixelHeight
;
1787
rc = new Int32Rect(0, 0, bitmapSource.PixelWidth, bitmapSource.
PixelHeight
);
System\Windows\Media\Imaging\BitmapVisualManager.cs (1)
73
int sizeY = _bitmapTarget.
PixelHeight
;
System\Windows\Media\Imaging\CroppedBitmap.cs (1)
89
rect.Height = source.
PixelHeight
;
System\Windows\Media\Imaging\TransformedBitmap.cs (1)
176
uint height = Math.Max(1, (uint)(scaleY * _source.
PixelHeight
+ 0.5));
System\Windows\Media\Imaging\WriteableBitmap.cs (4)
711
if (source.
PixelHeight
< 0)
732
(uint)source.
PixelHeight
, // safe cast
741
GetEstimatedSize(source.PixelWidth, source.
PixelHeight
, source.Format));
748
uint bufferSize = checked((uint)_backBufferStride * (uint)source.
PixelHeight
);
PresentationCore.Tests (3)
System\Windows\Media\Imaging\BitmapImage.Tests.cs (2)
55
Assert.Equal(1, image.
PixelHeight
);
111
Assert.Equal(1, image.
PixelHeight
);
System\Windows\Media\Imaging\WriteableBitmap.Tests.cs (1)
30
Assert.Equal(height, writeableBitmap.
PixelHeight
);
PresentationFramework (11)
MS\Internal\AppModel\IconHelper.cs (3)
103
|| bf.PixelWidth == size.Width && bf.
PixelHeight
== size.Height;
176
int h = bitmapSource.
PixelHeight
;
404
MyAbs(frame.
PixelHeight
, (int)size.Height, true);
System\Windows\Documents\TextRange.cs (4)
1040
if (bitmapSource.
PixelHeight
< MaxImageHeight)
1042
image.Height = bitmapSource.
PixelHeight
;
1054
if (bitmapSource.
PixelHeight
< MaxImageHeight)
1060
image.Width = (MaxImageHeight / bitmapSource.
PixelHeight
) * bitmapSource.PixelWidth;
System\Windows\Documents\WpfPayload.cs (3)
637
imageSource1.
PixelHeight
!= imageSource2.
PixelHeight
||
646
int bufferSize = (stride * (imageSource1.
PixelHeight
- 1)) + stride;
System\Windows\Standard\Utilities.cs (1)
113
_WeightedAbs(frame.
PixelHeight
, height, true);
ReachFramework (6)
AlphaFlattener\BrushProxy.cs (1)
2322
int imageHeight = bs.
PixelHeight
;
AlphaFlattener\Flattener.cs (1)
1400
source = BitmapSource.Create(source.PixelWidth, source.
PixelHeight
,
AlphaFlattener\ImageProxy.cs (2)
58
_pixelHeight = image.
PixelHeight
;
108
_pixelHeight = _image.
PixelHeight
;
AlphaFlattener\Utility.cs (1)
1428
int height = bitmapSource.
PixelHeight
;
Serialization\ImageSourceTypeConverter.cs (1)
386
int height = bitmapSource.
PixelHeight
;
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonWindowSmallIconConverter.cs (2)
69
|| bf.PixelWidth == size.Width && bf.
PixelHeight
== size.Height;
199
WeightedAbs(frame.
PixelHeight
, (int)size.Height, true);