IXpsOMRemoteDictionaryResource1::Write1 method (xpsobjectmodel_1.h)

Serializes the remote dictionary resource to a stream.

Syntax

HRESULT Write1(
  [in] ISequentialStream *stream,
  [in] XPS_DOCUMENT_TYPE documentType
);

Parameters

[in] stream

The stream that receives the serialized contents of the dictionary.

[in] 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

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