PrintRange 枚举

定义

指定要打印的文档部分。Specifies the part of the document to print.

public enum class PrintRange
[System.Serializable]
public enum PrintRange
type PrintRange = 
Public Enum PrintRange
继承
PrintRange
属性

字段

AllPages 0

打印所有的页。All pages are printed.

CurrentPage 4194304

打印当前显示页。The currently displayed page is printed.

Selection 1

打印选定的页。The selected pages are printed.

SomePages 2

打印在 FromPageToPage 之间的页。The pages between FromPage and ToPage are printed.

注解

PrinterSettingsPrintDialog 类使用此枚举。The PrinterSettings and PrintDialog classes use this enumeration.

有关打印的详细信息,请参阅 System.Drawing.Printing 命名空间概述。For more information on printing, see the System.Drawing.Printing namespace overview.

适用于

另请参阅