IXpsOMRemoteDictionaryResource1::Write1 method

Serializes the remote dictionary resource to a stream.

Syntax


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

Parameters

stream [in]

The stream that receives the serialized contents of the dictionary.

documentType [in]

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 | 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: