40 references to PixelHeight
PresentationCore (21)
System\Windows\Media\Imaging\BitmapEncoder.cs (1)
585
frame.
PixelHeight
System\Windows\Media\Imaging\BitmapImage.cs (7)
379
sourceRect.Height == source.
PixelHeight
)
406
finalHeight = source.
PixelHeight
;
410
finalWidth = (source.PixelWidth * finalHeight) / source.
PixelHeight
;
414
finalHeight = (source.
PixelHeight
* finalWidth) / source.PixelWidth;
417
if (finalWidth != source.PixelWidth || finalHeight != source.
PixelHeight
||
426
if (finalWidth != source.PixelWidth || finalHeight != source.
PixelHeight
)
429
int oldHeight = source.
PixelHeight
;
System\Windows\Media\Imaging\BitmapSource.cs (6)
451
return ImageSource.PixelsToDIPs(this.DpiY, this.
PixelHeight
);
722
sourceRect.Height =
PixelHeight
;
725
ArgumentOutOfRangeException.ThrowIfGreaterThan(sourceRect.Height,
PixelHeight
, "sourceRect.Height");
1484
_pixelHeight = sourceBitmap.
PixelHeight
;
1736
puiHeight = bitmapSource.
PixelHeight
;
1818
rc = new Int32Rect(0, 0, bitmapSource.PixelWidth, bitmapSource.
PixelHeight
);
System\Windows\Media\Imaging\BitmapVisualManager.cs (1)
74
int sizeY = _bitmapTarget.
PixelHeight
;
System\Windows\Media\Imaging\CroppedBitmap.cs (1)
90
rect.Height = source.
PixelHeight
;
System\Windows\Media\Imaging\TransformedBitmap.cs (1)
177
uint height = Math.Max(1, (uint)(scaleY * _source.
PixelHeight
+ 0.5));
System\Windows\Media\Imaging\WriteableBitmap.cs (4)
729
if (source.
PixelHeight
< 0)
750
(uint)source.
PixelHeight
, // safe cast
759
GetEstimatedSize(source.PixelWidth, source.
PixelHeight
, source.Format));
766
int bufferSize = checked(_backBufferStride * source.
PixelHeight
);
PresentationFramework (11)
MS\Internal\AppModel\IconHelper.cs (3)
104
|| bf.PixelWidth == size.Width && bf.
PixelHeight
== size.Height;
177
int h = bitmapSource.
PixelHeight
;
405
MyAbs(frame.
PixelHeight
, (int)size.Height, true);
System\Windows\Documents\TextRange.cs (4)
1041
if (bitmapSource.
PixelHeight
< MaxImageHeight)
1043
image.Height = bitmapSource.
PixelHeight
;
1055
if (bitmapSource.
PixelHeight
< MaxImageHeight)
1061
image.Width = (MaxImageHeight / bitmapSource.
PixelHeight
) * bitmapSource.PixelWidth;
System\Windows\Documents\WpfPayload.cs (3)
638
imageSource1.
PixelHeight
!= imageSource2.
PixelHeight
||
647
int bufferSize = (stride * (imageSource1.
PixelHeight
- 1)) + stride;
System\Windows\Standard\Utilities.cs (1)
114
_WeightedAbs(frame.
PixelHeight
, height, true);
ReachFramework (6)
AlphaFlattener\BrushProxy.cs (1)
2326
int imageHeight = bs.
PixelHeight
;
AlphaFlattener\Flattener.cs (1)
1407
source = BitmapSource.Create(source.PixelWidth, source.
PixelHeight
,
AlphaFlattener\ImageProxy.cs (2)
59
_pixelHeight = image.
PixelHeight
;
109
_pixelHeight = _image.
PixelHeight
;
AlphaFlattener\Utility.cs (1)
1429
int height = bitmapSource.
PixelHeight
;
Serialization\ImageSourceTypeConverter.cs (1)
387
int height = bitmapSource.
PixelHeight
;
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonWindowSmallIconConverter.cs (2)
70
|| bf.PixelWidth == size.Width && bf.
PixelHeight
== size.Height;
200
WeightedAbs(frame.
PixelHeight
, (int)size.Height, true);