GdPicture.NET.14
GdPicture14 Namespace / GdPictureTextExtraction Class / LoadFromStream(Stream,DocumentFormat,Boolean,String) Method
An optional parameter specifying the format of the document to be loaded. Default value is DocumentFormat.DocumentFormatUNKNOWN.
An optional boolean specifying if the stream object is owned by the GdPictureTextExtraction class. Default value is false.
Specifies the document password, if any.





In This Topic
LoadFromStream(Stream,DocumentFormat,Boolean,String) Method
In This Topic
Loads a document from a stream object.
Syntax
'Declaration
 
Public Function LoadFromStream( _
   ByVal Stream As Stream, _
   Optional ByVal DocumentFormat As DocumentFormat, _
   Optional ByVal OwnStream As Boolean, _
   Optional ByVal Password As String _
) As GdPictureStatus
public GdPictureStatus LoadFromStream( 
   Stream Stream,
   DocumentFormat DocumentFormat,
   bool OwnStream,
   string Password
)
public function LoadFromStream( 
    Stream: Stream;
    DocumentFormat: DocumentFormat;
    OwnStream: Boolean;
    Password: String
): GdPictureStatus; 
public function LoadFromStream( 
   Stream : Stream,
   DocumentFormat : DocumentFormat,
   OwnStream : boolean,
   Password : String
) : GdPictureStatus;
public: GdPictureStatus LoadFromStream( 
   Stream* Stream,
   DocumentFormat DocumentFormat,
   bool OwnStream,
   string* Password
) 
public:
GdPictureStatus LoadFromStream( 
   Stream^ Stream,
   DocumentFormat DocumentFormat,
   bool OwnStream,
   String^ Password
) 

Parameters

Stream
DocumentFormat
An optional parameter specifying the format of the document to be loaded. Default value is DocumentFormat.DocumentFormatUNKNOWN.
OwnStream
An optional boolean specifying if the stream object is owned by the GdPictureTextExtraction class. Default value is false.
Password
Specifies the document password, if any.

Return Value

A member of the GdPictureStatus enumeration.
See Also