PrintRange PrintRange PrintRange PrintRange Enum

定义

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

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

字段

AllPages AllPages AllPages AllPages 0

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

CurrentPage CurrentPage CurrentPage CurrentPage 4194304

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

Selection Selection Selection Selection 1

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

SomePages SomePages SomePages 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.

适用于

另请参阅