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)
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IIXC_Image::LoadFromIStream Method}}
 
{{#customTitle:IIXC_Image::LoadFromIStream Method}}
{{#parentPage:PXV:IIXC_Image|method}}
+
{{#parentPage:PXV:IIXC_Image#Methods|LoadFromIStream|method}}
{{ToWrite}}
+
{{ToReview}}
+
  
The method of interface of PDF-XChange Editor SDK.
+
The method loads an image using the IStream interface.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT LoadFromIStream([in] IStream* pStream, [in, defaultvalue(0)] ULONG nFlags);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT LoadFromIStream([in]                   IStream* pStream,
 +
                        [in, defaultvalue(0)] ULONG     nFlags);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pStream''
+
;pStream
:[in]  Pointer to IStream.
+
:[in]  specifies a pointer to an IStream interface.
;''nFlags''
+
;nFlags
:[in, defaultvalue(0)]  Value of ULONG.
+
:[in, defaultvalue(0)]  The following [[PXV:IXC_ImageLoadFlags|flag]] can be used to specify how the image will be loaded.
  
 
== Return Value ==
 
== Return Value ==
 
Returns S_OK if operation was successful or error code in other cases.
 
Returns S_OK if operation was successful or error code in other cases.
 +
 +
== Remarks ==
 +
See Comments for the [[PXV:IIXC_Image_Load|IIXC_Image::Load]] function for details.
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IIXC_Image|IIXC_Image]].
+
[[PXV:IIXC_Image|IIXC_Image]]

Latest revision as of 03:15, 15 June 2015

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