4 writes to FromPage
System.Drawing.Common.Tests (2)
System\Drawing\Printing\PrinterSettingsTests.cs (2)
143FromPage = pageNumber 155AssertExtensions.Throws<ArgumentException>(null, () => printerSettings.FromPage = pageNumber);
System.Windows.Forms (2)
System\Windows\Forms\Printing\PrintDialog.cs (2)
324PrinterSettings.FromPage = dialogSettings->nFromPage; 433PrinterSettings.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)
133Assert.Equal(0, printerSettings.FromPage); 146Assert.Equal(pageNumber, printerSettings.FromPage); 609+ " FromPage=" + printerSettings.FromPage.ToString(CultureInfo.InvariantCulture)
System.Windows.Forms (8)
System\Windows\Forms\Printing\PrintDialog.cs (8)
272if (PrinterSettings.FromPage < PrinterSettings.MinimumPage 273|| PrinterSettings.FromPage > PrinterSettings.MaximumPage) 284if (PrinterSettings.ToPage < PrinterSettings.FromPage) 289dialogSettings->nFromPage = (ushort)PrinterSettings.FromPage; 386if (PrinterSettings.FromPage < PrinterSettings.MinimumPage 387|| PrinterSettings.FromPage > PrinterSettings.MaximumPage) 398if (PrinterSettings.ToPage < PrinterSettings.FromPage) 403pageRange.nFromPage = (uint)PrinterSettings.FromPage;