1 write to screendpi
System.Windows.Forms (1)
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (1)
427
screendpi
= new Point(UnsafeNativeMethods.GetDeviceCaps(new HandleRef(tempGraphics, dc), NativeMethods.LOGPIXELSX),
6 references to screendpi
System.Windows.Forms (6)
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (6)
433
Size controlPhysicalSize = new Size(PixelsToPhysical(new Point(Size),
screendpi
));
444
SetVirtualSizeNoInvalidate(new Size(PhysicalToPixels(new Point(virtualX, virtualY),
screendpi
)));
573
Size controlPhysicalSize = new Size(PixelsToPhysical(new Point(Size),
screendpi
));
585
int borderPixelsX = PhysicalToPixels(border,
screendpi
.X);
586
int borderPixelsY = PhysicalToPixels(border,
screendpi
.Y);
611
Point imagePixels = PhysicalToPixels(new Point(imageSize),
screendpi
);