The array of bytes storing the document.
The initial name of the file stored into the byte array. IE: myfile.tif. The document format will be automatically detected based on this file name.
The password required to open the document, if any.

In This Topic
GdPicture14.WEB Namespace / DocuVieware Class / LoadFromByteArray Method

LoadFromByteArray Method (DocuVieware)

In This Topic
Displays a document from an array of bytes.
Syntax
'Declaration
 
Public Function LoadFromByteArray( _
   ByVal DocumentData() As Byte, _
   ByVal DocumentName As String, _
   Optional ByVal Password As String _
) As GdPictureStatus
public GdPictureStatus LoadFromByteArray( 
   byte[] DocumentData,
   string DocumentName,
   string Password
)

Parameters

DocumentData
The array of bytes storing the document.
DocumentName
The initial name of the file stored into the byte array. IE: myfile.tif. The document format will be automatically detected based on this file name.
Password
The password required to open the document, if any.

Return Value

A member of the GdPictureStatus enumeration.
Remarks
Supported formats are listed here: http://www.docuvieware.com/product/features/
See Also