4 writes to FromPage
System.Drawing.Common.Tests (2)
System\Drawing\Printing\PrinterSettingsTests.cs (2)
143
FromPage
= pageNumber
155
AssertExtensions.Throws<ArgumentException>(null, () => printerSettings.
FromPage
= pageNumber);
System.Windows.Forms (2)
System\Windows\Forms\Printing\PrintDialog.cs (2)
324
PrinterSettings.
FromPage
= dialogSettings->nFromPage;
433
PrinterSettings.
FromPage
= (int)pageRange.nFromPage;
15 references to FromPage
System.Drawing.Common (4)
System\Drawing\Printing\PrinterSettings.cs (3)
209
/// Gets or sets the highest <see cref='
FromPage
'/> or <see cref='ToPage'/> which may be selected in a print dialog box.
226
/// Gets or sets the lowest <see cref='
FromPage
'/> or <see cref='ToPage'/> which may be selected in a print dialog box.
1047
$"[PrinterSettings {PrinterName} Copies={Copies} Collate={Collate} Duplex={Duplex} FromPage={
FromPage
} LandscapeAngle={LandscapeAngle} MaximumCopies={MaximumCopies} OutputPort={OutputPort} ToPage={ToPage}]";
System\Drawing\Printing\PrintRange.cs (1)
19
/// The pages between <see cref='PrinterSettings.
FromPage
'/> and <see cref='PrinterSettings.ToPage'/> are printed.
System.Drawing.Common.Tests (3)
System\Drawing\Printing\PrinterSettingsTests.cs (3)
133
Assert.Equal(0, printerSettings.
FromPage
);
146
Assert.Equal(pageNumber, printerSettings.
FromPage
);
609
+ " FromPage=" + printerSettings.
FromPage
.ToString(CultureInfo.InvariantCulture)
System.Windows.Forms (8)
System\Windows\Forms\Printing\PrintDialog.cs (8)
272
if (PrinterSettings.
FromPage
< PrinterSettings.MinimumPage
273
|| PrinterSettings.
FromPage
> PrinterSettings.MaximumPage)
284
if (PrinterSettings.ToPage < PrinterSettings.
FromPage
)
289
dialogSettings->nFromPage = (ushort)PrinterSettings.
FromPage
;
386
if (PrinterSettings.
FromPage
< PrinterSettings.MinimumPage
387
|| PrinterSettings.
FromPage
> PrinterSettings.MaximumPage)
398
if (PrinterSettings.ToPage < PrinterSettings.
FromPage
)
403
pageRange.nFromPage = (uint)PrinterSettings.
FromPage
;