2 instantiations of PaperSize
System.Drawing (2)
commonui\System\Drawing\Printing\PageSettings.cs (1)
498return new PaperSize(PaperKind.Custom, "custom",
commonui\System\Drawing\Printing\PrinterSettings.cs (1)
1211result[i] = new PaperSize((PaperKind) kind, name,
31 references to PaperSize
System.Drawing (21)
commonui\System\Drawing\Printing\PageSettings.cs (7)
31private PaperSize paperSize; 188public PaperSize PaperSize { 447PaperSize size = GetPaperSize(modeHandle); 465private PaperSize GetPaperSize(IntPtr modeHandle) { 476PaperSize result = PaperSizeFromMode(mode); 489private PaperSize PaperSizeFromMode(SafeNativeMethods.DEVMODE mode) { 490PaperSize[] sizes = printerSettings.Get_PaperSizes();
commonui\System\Drawing\Printing\PaperSize.cs (3)
37/// Initializes a new instance of the <see cref='System.Drawing.Printing.PaperSize'/> class with default properties. 38/// This constructor is required for the serialization of the <see cref='System.Drawing.Printing.PaperSize'/> class. 58/// Initializes a new instance of the <see cref='System.Drawing.Printing.PaperSize'/> class.
commonui\System\Drawing\Printing\PrinterSettings.cs (11)
1179internal PaperSize[] Get_PaperSizes() { 1186return new PaperSize[0]; 1201PaperSize[] result = new PaperSize[count]; 1424private PaperSize[] array; 1432public PaperSizeCollection(PaperSize[] array) { 1454public virtual PaperSize this[int index] { 1510public void CopyTo(PaperSize[] paperSizes, int index) { 1531public Int32 Add(PaperSize paperSize) 1533PaperSize[] newArray = new PaperSize[this.Count + 1];
System.Workflow.ComponentModel (10)
AuthoringOM\Design\Dialogs\WorkflowPageSetupDialog.cs (9)
1006this.printDocument.DefaultPageSettings.PaperSize = (PaperSize)this.paperSizeComboBox.SelectedItem; 1069PaperSize paperSize = this.paperSizeComboBox.SelectedItem as PaperSize; 1118PaperSize paperSize = this.paperSizeComboBox.SelectedItem as PaperSize; 1148foreach (PaperSize paperSize in paperSizeCollection) 1169foreach (PaperSize paperSize in this.paperSizeComboBox.Items) 1185this.paperSizeComboBox.SelectedItem = this.paperSizeComboBox.Items[0] as PaperSize; 1186this.printDocument.DefaultPageSettings.PaperSize = this.paperSizeComboBox.SelectedItem as PaperSize;
AuthoringOM\Design\WorkflowLayouts.cs (1)
825PaperSize paperSize = this.printDocument.DefaultPageSettings.PaperSize;