IXpsOMRemoteDictionaryResource1::GetDocumentType method

Gets the XPS_DOCUMENT_TYPE of the resource.

Syntax

HRESULT GetDocumentType(
  XPS_DOCUMENT_TYPE *documentType
);

Parameters

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

   
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