13 references to PrintRange
System.Drawing (1)
System.Drawing.cs (1)
134
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.Printing.
PrintRange
))]
System.Drawing.Common (1)
Special\NotSupported.cs (1)
3030
public System.Drawing.Printing.
PrintRange
PrintRange { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } set { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
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);