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