Reference Guide
GdPicture14.WEB Namespace / DocuViewareControl Class / LoadFromByteArray Method
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.
Not documented. Do not use yet.

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

    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.
    ContentEncoding
    Not documented. Do not use yet.

    Return Value

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