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