40 references to PixelHeight
PresentationCore (21)
System\Windows\Media\Imaging\BitmapEncoder.cs (1)
603
frame.
PixelHeight
System\Windows\Media\Imaging\BitmapImage.cs (7)
397
sourceRect.Height == source.
PixelHeight
)
424
finalHeight = source.
PixelHeight
;
428
finalWidth = (source.PixelWidth * finalHeight) / source.
PixelHeight
;
432
finalHeight = (source.
PixelHeight
* finalWidth) / source.PixelWidth;
435
if (finalWidth != source.PixelWidth || finalHeight != source.
PixelHeight
||
444
if (finalWidth != source.PixelWidth || finalHeight != source.
PixelHeight
)
447
int oldHeight = source.
PixelHeight
;
System\Windows\Media\Imaging\BitmapSource.cs (6)
466
return ImageSource.PixelsToDIPs(this.DpiY, this.
PixelHeight
);
737
sourceRect.Height =
PixelHeight
;
740
ArgumentOutOfRangeException.ThrowIfGreaterThan(sourceRect.Height,
PixelHeight
, "sourceRect.Height");
1499
_pixelHeight = sourceBitmap.
PixelHeight
;
1751
puiHeight = bitmapSource.
PixelHeight
;
1833
rc = new Int32Rect(0, 0, bitmapSource.PixelWidth, bitmapSource.
PixelHeight
);
System\Windows\Media\Imaging\BitmapVisualManager.cs (1)
87
int sizeY = _bitmapTarget.
PixelHeight
;
System\Windows\Media\Imaging\CroppedBitmap.cs (1)
109
rect.Height = source.
PixelHeight
;
System\Windows\Media\Imaging\TransformedBitmap.cs (1)
196
uint height = Math.Max(1, (uint)(scaleY * _source.
PixelHeight
+ 0.5));
System\Windows\Media\Imaging\WriteableBitmap.cs (4)
746
if (source.
PixelHeight
< 0)
767
(uint)source.
PixelHeight
, // safe cast
776
GetEstimatedSize(source.PixelWidth, source.
PixelHeight
, source.Format));
783
int bufferSize = checked(_backBufferStride * source.
PixelHeight
);
PresentationFramework (11)
MS\Internal\AppModel\IconHelper.cs (3)
112
|| bf.PixelWidth == size.Width && bf.
PixelHeight
== size.Height;
185
int h = bitmapSource.
PixelHeight
;
409
MyAbs(frame.
PixelHeight
, (int)size.Height, true);
System\Windows\Documents\TextRange.cs (4)
1052
if (bitmapSource.
PixelHeight
< MaxImageHeight)
1054
image.Height = bitmapSource.
PixelHeight
;
1066
if (bitmapSource.
PixelHeight
< MaxImageHeight)
1072
image.Width = (MaxImageHeight / bitmapSource.
PixelHeight
) * bitmapSource.PixelWidth;
System\Windows\Documents\WpfPayload.cs (3)
642
imageSource1.
PixelHeight
!= imageSource2.
PixelHeight
||
651
int bufferSize = (stride * (imageSource1.
PixelHeight
- 1)) + stride;
System\Windows\Standard\Utilities.cs (1)
123
_WeightedAbs(frame.
PixelHeight
, height, true);
ReachFramework (6)
AlphaFlattener\BrushProxy.cs (1)
2328
int imageHeight = bs.
PixelHeight
;
AlphaFlattener\Flattener.cs (1)
1403
source = BitmapSource.Create(source.PixelWidth, source.
PixelHeight
,
AlphaFlattener\ImageProxy.cs (2)
66
_pixelHeight = image.
PixelHeight
;
116
_pixelHeight = _image.
PixelHeight
;
AlphaFlattener\Utility.cs (1)
1440
int height = bitmapSource.
PixelHeight
;
Serialization\ImageSourceTypeConverter.cs (1)
395
int height = bitmapSource.
PixelHeight
;
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonWindowSmallIconConverter.cs (2)
72
|| bf.PixelWidth == size.Width && bf.
PixelHeight
== size.Height;
202
WeightedAbs(frame.
PixelHeight
, (int)size.Height, true);