IXpsOMRemoteDictionaryResource1::GetDocumentType method (xpsobjectmodel_1.h)

Gets the XPS_DOCUMENT_TYPE of the resource.

Syntax

HRESULT GetDocumentType(
  [out, retval] XPS_DOCUMENT_TYPE *documentType
);

Parameters

[out, retval] documentType

The XPS_DOCUMENT_TYPE document type of the resource.

Returns XPS_DOCUMENT_TYPE_UNSPECIFIED unless the IXpsOMRemoteDictionaryResource interface was created by loading a previously serialized remote dictionary.

Return value

The method returns an HRESULT.

For information about XPS document API return values, see XPS Document Errors.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header xpsobjectmodel_1.h
Library None

See also

IXpsOMRemoteDictionaryResource

IXpsOMRemoteDictionaryResource1