8 references to Custom
System.Drawing (8)
commonui\System\Drawing\Printing\PageSettings.cs (2)
371
if (paperSize.Kind == PaperKind.
Custom
)
498
return new PaperSize(PaperKind.
Custom
, "custom",
commonui\System\Drawing\Printing\PaperSize.cs (6)
43
this.kind = PaperKind.
Custom
;
62
this.kind = PaperKind.
Custom
;
79
if (kind != PaperKind.
Custom
&& !this.createdByDefaultConstructor) throw new ArgumentException(SR.GetString(SR.PSizeNotCustom));
97
return PaperKind.
Custom
;
110
if (kind != PaperKind.
Custom
&& !this.createdByDefaultConstructor) throw new ArgumentException(SR.GetString(SR.PSizeNotCustom));
139
if (kind != PaperKind.
Custom
&& !createdByDefaultConstructor) throw new ArgumentException(SR.GetString(SR.PSizeNotCustom));