IXpsOMRemoteDictionaryResource1::GetDocumentType method

Gets the XPS_DOCUMENT_TYPE of the resource.

Syntax


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

Parameters

documentType [out, retval]

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 | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

XpsObjectModel_1.h

IDL

XpsObjectModel.idl

Library

None

See also

IXpsOMRemoteDictionaryResource1
IXpsOMRemoteDictionaryResource

 

 

Show: