34 references to PixelHeight
PresentationCore (22)
Core\CSharp\System\Windows\Media\Imaging\BitmapEncoder.cs (1)
662frame.PixelHeight
Core\CSharp\System\Windows\Media\Imaging\BitmapImage.cs (7)
409sourceRect.Height == source.PixelHeight) 436finalHeight = source.PixelHeight; 440finalWidth = (source.PixelWidth * finalHeight) / source.PixelHeight; 444finalHeight = (source.PixelHeight * finalWidth) / source.PixelWidth; 447if (finalWidth != source.PixelWidth || finalHeight != source.PixelHeight || 456if (finalWidth != source.PixelWidth || finalHeight != source.PixelHeight) 459int oldHeight = source.PixelHeight;
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (7)
509return ImageSource.PixelsToDIPs(this.DpiY, this.PixelHeight); 804sourceRect.Height = PixelHeight; 809if (sourceRect.Height > PixelHeight) 810throw new ArgumentOutOfRangeException("sourceRect.Height", SR.Get(SRID.ParameterCannotBeGreaterThan, PixelHeight)); 1606_pixelHeight = sourceBitmap.PixelHeight; 1869puiHeight = bitmapSource.PixelHeight; 1959rc = new Int32Rect(0, 0, bitmapSource.PixelWidth, bitmapSource.PixelHeight);
Core\CSharp\System\Windows\Media\Imaging\BitmapVisualManager.cs (1)
100int sizeY = _bitmapTarget.PixelHeight;
Core\CSharp\System\Windows\Media\Imaging\CroppedBitmap.cs (1)
124rect.Height = source.PixelHeight;
Core\CSharp\System\Windows\Media\Imaging\TransformedBitmap.cs (1)
211uint height = Math.Max(1, (uint)(scaleY * _source.PixelHeight + 0.5));
Core\CSharp\System\Windows\Media\Imaging\WriteableBitmap.cs (4)
848if (source.PixelHeight < 0) 869(uint)source.PixelHeight, // safe cast 878GetEstimatedSize(source.PixelWidth, source.PixelHeight, source.Format)); 883int bufferSize = checked(_backBufferStride.Value * source.PixelHeight);
PresentationFramework (11)
src\Framework\MS\Internal\AppModel\IconHelper.cs (3)
137|| bf.PixelWidth == size.Width && bf.PixelHeight == size.Height; 216int h = bitmapSource.PixelHeight; 444MyAbs(frame.PixelHeight, (int)size.Height, true);
src\Framework\System\Windows\Documents\TextRange.cs (4)
1049if (bitmapSource.PixelHeight < MaxImageHeight) 1051image.Height = bitmapSource.PixelHeight; 1063if (bitmapSource.PixelHeight < MaxImageHeight) 1069image.Width = (MaxImageHeight / bitmapSource.PixelHeight) * bitmapSource.PixelWidth;
src\Framework\System\Windows\Documents\WpfPayload.cs (3)
678imageSource1.PixelHeight != imageSource2.PixelHeight || 687int bufferSize = (stride * (imageSource1.PixelHeight - 1)) + stride;
src\Framework\System\Windows\Standard\Utilities.cs (1)
126_WeightedAbs(frame.PixelHeight, height, true);
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesignerIcons.cs (1)
202int height = image.PixelHeight;