PXCV_ReadDocumentFromIStream

<< Click to Display Table of Contents >>

Navigation:  Functions >

PXCV_ReadDocumentFromIStream


 

pdf-xchange-editor-simple-sdk_100x100 PXCV_ReadDocumentFromIStream

 


 

PXCV_ReadDocumentFromIStream uses an Istream interface to read documents.

 

HRESULT  PXCV_ReadDocumentFromIStream(

     PXVDocument Doc,

     IStreamstream,

     DWORD Flags

);

 

Parameters

 

Doc

[in] Specifies a document that PXCV_Init created.

 

stream

[in] Specifies a pointer for the stream that loads the PDF document.

 

Flags

[in] This parameter is reserved for future use and should be set to 0.

 

Please note that all functions and parameters are case-sensitive.

 

Return Values

 

If the function succeeds then the return value is DS_OK.

 

If the function fails then the return value is an error code.

 

If the function return value is equal to PS_ERR_DocEncrypted then PXCV_CheckPassword and PXCV_FinishReadDocument must be used to provide a password.