The MXDC_S0_PAGE_ENUMS enumeration is used to specify types of resources that can be associated with pages in XPS documents and that can be processed, or passed unprocessed, by Microsoft XPS Document Converter (MXDC) to its output.
Syntax
typedef enum tagMxdcS0PageEnums {
MXDC_RESOURCE_TTF,
MXDC_RESOURCE_JPEG,
MXDC_RESOURCE_PNG,
MXDC_RESOURCE_TIFF,
MXDC_RESOURCE_WDP,
MXDC_RESOURCE_DICTIONARY,
MXDC_RESOURCE_ICC_PROFILE,
MXDC_RESOURCE_JPEG_THUMBNAIL,
MXDC_RESOURCE_PNG_THUMBNAIL,
MXDC_RESOURCE_MAX
} MXDC_S0_PAGE_ENUMS;
Constants
MXDC_RESOURCE_TTF
TrueType or OpenType font.
MXDC_RESOURCE_JPEG
JPEG image
MXDC_RESOURCE_PNG
PNG image.
MXDC_RESOURCE_TIFF
TIFF image.
MXDC_RESOURCE_WDP
Windows Media Photo image.
MXDC_RESOURCE_DICTIONARY
Remote resource dictionary that should be passed to MXDC's output unprocessed.
MXDC_RESOURCE_ICC_PROFILE
ICC profile that should be passed to MXDC's output unprocessed.
MXDC_RESOURCE_JPEG_THUMBNAIL
JPEG thumbnail that should be passed to MXDC's output unprocessed.
MXDC_RESOURCE_PNG_THUMBNAIL
PNG thumbnail that should be passed to MXDC's output unprocessed.
MXDC_RESOURCE_MAX
The maximum resource count for validation.
Remarks
This enumeration is primarily used as the dwResourceType member of the MXDC_XPS_S0PAGE_RESOURCE_T structure.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Header | Winspool.h (include Windows.h) |
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
