IIXC_Image::LoadFromIStream Method

From PDF XChange PDF SDK
Revision as of 03:50, 21 May 2015 by Dsbot (Talk | contribs) (Parent page removed)

Jump to: navigation, search

The method loads an image using the IStream interface.

Syntax

HRESULT LoadFromIStream([in]                   IStream*  pStream,
                        [in, defaultvalue(0)]  ULONG     nFlags);

Parameters

pStream
[in] specifies a pointer to an IStream interface.
nFlags
[in, defaultvalue(0)] The following flag can be used to specify how the image will be loaded.

Return Value

Returns S_OK if operation was successful or error code in other cases.

Remarks

See Comments for the IIXC_Image::Load function for details.

See Also

IIXC_Image
IIXC_Inst::CreateEmptyImage
IIXC_Image::Load
IIXC_Image::LoadFromMemory
IIXC_Image::Save