15 references to PrintRange
System.Drawing (1)
System.Drawing.cs (1)
134
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.Printing.
PrintRange
))]
System.Drawing.Common (3)
System\Drawing\Printing\PrinterSettings.cs (3)
31
private
PrintRange
_printRange;
281
public
PrintRange
PrintRange
288
throw new InvalidEnumArgumentException(nameof(value), (int)value, typeof(
PrintRange
));
System.Drawing.Common.Tests (10)
System\Drawing\Printing\PrinterSettingsTests.cs (10)
304
[InlineData(
PrintRange
.AllPages)]
305
[InlineData(
PrintRange
.CurrentPage)]
306
[InlineData(
PrintRange
.Selection)]
307
[InlineData(
PrintRange
.SomePages)]
308
public void PrintRange_SetValue_ReturnsExpected(
PrintRange
printRange)
319
[InlineData(
PrintRange
.AllPages - 1)]
320
[InlineData(
PrintRange
.SomePages + 1)]
321
[InlineData((
PrintRange
)int.MaxValue)]
322
[InlineData((
PrintRange
)int.MinValue)]
323
public void PrintRange_Invalid_ThrowsInvalidEnumArgumentException(
PrintRange
printRange)
System.Windows.Forms (1)
System\Windows\Forms\Printing\PrintDialog.cs (1)
486
settings.PrintRange = (
PrintRange
)(flags & PrintRangeMask);