IXpsOMRemoteDictionaryResource1::Write1 method

Serializes the remote dictionary resource to a stream.

Syntax

HRESULT Write1(
  ISequentialStream *stream,
  XPS_DOCUMENT_TYPE documentType
);

Parameters

stream

The stream that receives the serialized contents of the dictionary.

documentType

The XPS data format to write to outputStream. The value of this parameter cannot be XPS_DOCUMENT_TYPE_UNSPECIFIED.

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