2 instantiations of PaperSize
System.Drawing.Common (2)
System\Drawing\Printing\PageSettings.cs (1)
413return new PaperSize(
System\Drawing\Printing\PrinterSettings.cs (1)
884paperSizes[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)
13private PaperSize? _paperSize; 114public PaperSize PaperSize 361PaperSize size = GetPaperSize(modeHandle); 371private PaperSize GetPaperSize(HGLOBAL modeHandle) 387PaperSize result = PaperSizeFromMode(devmode); 399private PaperSize PaperSizeFromMode(DEVMODEW* devmode) 401PaperSize[] 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)
840internal unsafe PaperSize[] Get_PaperSizes() 881PaperSize[] paperSizes = new PaperSize[count];
System\Drawing\Printing\PrinterSettings.PaperSizeCollection.cs (9)
12/// Collection of <see cref="PaperSize"/> objects. 16private PaperSize[] _array; 21public PaperSizeCollection(PaperSize[] array) => _array = array; 29/// Retrieves the <see cref="PaperSize"/> with the specified index. 31public virtual PaperSize this[int index] => _array[index]; 43public void CopyTo(PaperSize[] paperSizes, int index) => Array.Copy(_array, index, paperSizes, 0, _array.Length); 48public int Add(PaperSize paperSize) 50PaperSize[] newArray = new PaperSize[Count + 1];