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