IIXC_Image::LoadFromIStream Method
From PDF XChange PDF SDK
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* | + | <pre class="brush:cpp;gutter:false">HRESULT LoadFromIStream([in] IStream* pStream, |
− | [in, defaultvalue(0)] ULONG | + | [in, defaultvalue(0)] ULONG nFlags);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;pStream |
:[in] specifies a pointer to an IStream interface. | :[in] specifies a pointer to an IStream interface. | ||
− | ; | + | ;nFlags |
:[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. | ||
Latest revision as of 02: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.