2 instantiations of PaperSize
System.Drawing.Common (2)
System\Drawing\Printing\PageSettings.cs (1)
413
return new
PaperSize
(
System\Drawing\Printing\PrinterSettings.cs (1)
884
paperSizes[i] = new
PaperSize
(
22 references to PaperSize
System.Drawing (1)
System.Drawing.cs (1)
114
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.Printing.
PaperSize
))]
System.Drawing.Common (21)
System\Drawing\Printing\PageSettings.cs (7)
13
private
PaperSize
? _paperSize;
114
public
PaperSize
PaperSize
361
PaperSize
size = GetPaperSize(modeHandle);
371
private
PaperSize
GetPaperSize(HGLOBAL modeHandle)
387
PaperSize
result = PaperSizeFromMode(devmode);
399
private
PaperSize
PaperSizeFromMode(DEVMODEW* devmode)
401
PaperSize
[] sizes = _printerSettings.Get_PaperSizes();
System\Drawing\Printing\PaperSize.cs (2)
22
/// Initializes a new instance of the <see cref='
PaperSize
'/> class with default properties.
40
/// Initializes a new instance of the <see cref='
PaperSize
'/> class.
System\Drawing\Printing\PrinterSettings.cs (3)
840
internal unsafe
PaperSize
[] Get_PaperSizes()
881
PaperSize
[] paperSizes = new
PaperSize
[count];
System\Drawing\Printing\PrinterSettings.PaperSizeCollection.cs (9)
12
/// Collection of <see cref="
PaperSize
"/> objects.
16
private
PaperSize
[] _array;
21
public PaperSizeCollection(
PaperSize
[] array) => _array = array;
29
/// Retrieves the <see cref="
PaperSize
"/> with the specified index.
31
public virtual
PaperSize
this[int index] => _array[index];
43
public void CopyTo(
PaperSize
[] paperSizes, int index) => Array.Copy(_array, index, paperSizes, 0, _array.Length);
48
public int Add(
PaperSize
paperSize)
50
PaperSize
[] newArray = new
PaperSize
[Count + 1];