10 instantiations of PrinterResolution
System.Drawing (10)
commonui\System\Drawing\Printing\PageSettings.cs (1)
538
return new
PrinterResolution
(PrinterResolutionKind.Custom,
commonui\System\Drawing\Printing\PrinterSettings.cs (9)
1269
result[0] = new
PrinterResolution
(PrinterResolutionKind.High, -4, -1);
1270
result[1] = new
PrinterResolution
(PrinterResolutionKind.Medium, -3, -1);
1271
result[2] = new
PrinterResolution
(PrinterResolutionKind.Low, -2, -1);
1272
result[3] = new
PrinterResolution
(PrinterResolutionKind.Draft, -1, -1);
1278
result[0] = new
PrinterResolution
(PrinterResolutionKind.High, -4, -1);
1279
result[1] = new
PrinterResolution
(PrinterResolutionKind.Medium, -3, -1);
1280
result[2] = new
PrinterResolution
(PrinterResolutionKind.Low, -2, -1);
1281
result[3] = new
PrinterResolution
(PrinterResolutionKind.Draft, -1, -1);
1289
result[i + 4] = new
PrinterResolution
(PrinterResolutionKind.Custom, x, y);
18 references to PrinterResolution
System.Drawing (18)
commonui\System\Drawing\Printing\PageSettings.cs (5)
33
private
PrinterResolution
printerResolution;
275
public
PrinterResolution
PrinterResolution {
286
PrinterResolution
result = PrinterResolutionFromMode(mode);
521
private
PrinterResolution
PrinterResolutionFromMode(SafeNativeMethods.DEVMODE mode) {
522
PrinterResolution
[] resolutions = printerSettings.Get_PrinterResolutions();
commonui\System\Drawing\Printing\PrinterResolution.cs (2)
32
/// Initializes a new instance of the <see cref='System.Drawing.Printing.
PrinterResolution
'/> class with default properties.
33
/// This constructor is required for the serialization of the <see cref='System.Drawing.Printing.
PrinterResolution
'/> class.
commonui\System\Drawing\Printing\PrinterSettings.cs (11)
1259
internal
PrinterResolution
[] Get_PrinterResolutions() {
1263
PrinterResolution
[] result;
1268
result = new
PrinterResolution
[4];
1277
result = new
PrinterResolution
[count + 4];
1676
private
PrinterResolution
[] array;
1684
public PrinterResolutionCollection(
PrinterResolution
[] array) {
1707
public virtual
PrinterResolution
this[int index] {
1767
public void CopyTo(
PrinterResolution
[] printerResolutions, int index) {
1788
public Int32 Add(
PrinterResolution
printerResolution)
1790
PrinterResolution
[] newArray = new
PrinterResolution
[this.Count + 1];