Freigeben über


XPS_DOCUMENT_TYPE enumeration

Indicates the format into which the document was serialized.

Syntax

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

Constants

  • XPS_DOCUMENT_TYPE_UNSPECIFIED
    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

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Xpsobjectmodel_1.h

IDL

Xpsobjectmodel_1.idl

See also

IXpsDocumentPackageTarget::GetXpsType

XPS Document Enumerations