Udostępnij za pośrednictwem


PrintContent Enum

Definition

Specifies the content that HtmlPrintDocumentSource.content prints.

public enum class PrintContent
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class PrintContent
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum PrintContent
var value = Windows.UI.WebUI.PrintContent.allPages
Public Enum PrintContent
Inheritance
PrintContent
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
AllPages 0

Print all pages.

CurrentPage 1

Print the current page.

CustomPageRange 2

Print a custom page range.

CurrentSelection 3

Print the current selection of pages.

Applies to

See also