XPS_DOCUMENT_TYPE enumeration (xpsobjectmodel_1.h)

Indicates the format into which the document was serialized.

Syntax

typedef enum __MIDL___MIDL_itf_xpsobjectmodel_1_0000_0000_0001 {
  XPS_DOCUMENT_TYPE_UNSPECIFIED = 1,
  XPS_DOCUMENT_TYPE_XPS,
  XPS_DOCUMENT_TYPE_OPENXPS
} XPS_DOCUMENT_TYPE;

Constants

 
XPS_DOCUMENT_TYPE_UNSPECIFIED
Value: 1
For documents which have yet to be serialized, and whose type is yet to be determined.
XPS_DOCUMENT_TYPE_XPS
MSXPS v1.0 document format.
XPS_DOCUMENT_TYPE_OPENXPS
OpenXPS v1.0 document format.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Header xpsobjectmodel_1.h

See also

IXpsDocumentPackageTarget::GetXpsType

XPS Document Enumerations