IIXC_Image::LoadFromIStream Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 7: Line 7:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT LoadFromIStream([in]                  IStream*  pStream,
+
<pre class="brush:cpp;gutter:false">HRESULT LoadFromIStream([in]                  IStream*  Stream,
                         [in, defaultvalue(0)]  ULONG    nFlags);</pre>
+
                         [in, defaultvalue(0)]  ULONG    Flags);</pre>
  
 
== Parameters ==
 
== Parameters ==
;pStream
+
;Stream
 
:[in]  specifies a pointer to an IStream interface.
 
:[in]  specifies a pointer to an IStream interface.
;nFlags
+
;Flags
 
:[in, defaultvalue(0)]  The following [[PXV:IXC_ImageLoadFlags|flag]] can be used to specify how the image will be loaded.
 
:[in, defaultvalue(0)]  The following [[PXV:IXC_ImageLoadFlags|flag]] can be used to specify how the image will be loaded.
  

Revision as of 06:49, 12 June 2015

The method loads an image using the IStream interface.

Syntax

HRESULT LoadFromIStream([in]                   IStream*  Stream,
                        [in, defaultvalue(0)]  ULONG     Flags);

Parameters

Stream
[in] specifies a pointer to an IStream interface.
Flags
[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