2 instantiations of PaperSize
System.Drawing (2)
commonui\System\Drawing\Printing\PageSettings.cs (1)
498
return new
PaperSize
(PaperKind.Custom, "custom",
commonui\System\Drawing\Printing\PrinterSettings.cs (1)
1211
result[i] = new
PaperSize
((PaperKind) kind, name,
31 references to PaperSize
System.Drawing (21)
commonui\System\Drawing\Printing\PageSettings.cs (7)
31
private
PaperSize
paperSize;
188
public
PaperSize
PaperSize {
447
PaperSize
size = GetPaperSize(modeHandle);
465
private
PaperSize
GetPaperSize(IntPtr modeHandle) {
476
PaperSize
result = PaperSizeFromMode(mode);
489
private
PaperSize
PaperSizeFromMode(SafeNativeMethods.DEVMODE mode) {
490
PaperSize
[] 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)
1179
internal
PaperSize
[] Get_PaperSizes() {
1186
return new
PaperSize
[0];
1201
PaperSize
[] result = new
PaperSize
[count];
1424
private
PaperSize
[] array;
1432
public PaperSizeCollection(
PaperSize
[] array) {
1454
public virtual
PaperSize
this[int index] {
1510
public void CopyTo(
PaperSize
[] paperSizes, int index) {
1531
public Int32 Add(
PaperSize
paperSize)
1533
PaperSize
[] newArray = new
PaperSize
[this.Count + 1];
System.Workflow.ComponentModel (10)
AuthoringOM\Design\Dialogs\WorkflowPageSetupDialog.cs (9)
1006
this.printDocument.DefaultPageSettings.PaperSize = (
PaperSize
)this.paperSizeComboBox.SelectedItem;
1069
PaperSize
paperSize = this.paperSizeComboBox.SelectedItem as
PaperSize
;
1118
PaperSize
paperSize = this.paperSizeComboBox.SelectedItem as
PaperSize
;
1148
foreach (
PaperSize
paperSize in paperSizeCollection)
1169
foreach (
PaperSize
paperSize in this.paperSizeComboBox.Items)
1185
this.paperSizeComboBox.SelectedItem = this.paperSizeComboBox.Items[0] as
PaperSize
;
1186
this.printDocument.DefaultPageSettings.PaperSize = this.paperSizeComboBox.SelectedItem as
PaperSize
;
AuthoringOM\Design\WorkflowLayouts.cs (1)
825
PaperSize
paperSize = this.printDocument.DefaultPageSettings.PaperSize;