IIXC_Image::LoadFromIStream Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
(13 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#Methods|LoadFromIStream|method}} | ||
− | The method | + | The method loads an image using the IStream interface. |
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT LoadFromIStream([in] IStream* pStream, [in | + | <pre class="brush:cpp;gutter:false">HRESULT LoadFromIStream([in] IStream* pStream, |
+ | [in, defaultvalue(0)] ULONG nFlags);</pre> | ||
== Parameters == | == Parameters == | ||
− | ; | + | ;pStream |
− | :[in] | + | :[in] specifies a pointer to an IStream interface. |
− | ; | + | ;nFlags |
− | :[in | + | :[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 == | ||
− | + | [[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.