'Declaration
Public Function DisplayFromByteArray( _ ByVal Data() As Byte, _ Optional ByVal DocumentFormat As DocumentFormat _ ) As GdPictureStatus
public GdPictureStatus DisplayFromByteArray( byte[] Data, DocumentFormat DocumentFormat )
public function DisplayFromByteArray( Data: Bytearray of; DocumentFormat: DocumentFormat ): GdPictureStatus;
public function DisplayFromByteArray( Data : byte[], DocumentFormat : DocumentFormat ) : GdPictureStatus;
public: GdPictureStatus DisplayFromByteArray( byte[]* Data, DocumentFormat DocumentFormat )
public: GdPictureStatus DisplayFromByteArray( array<byte>^ Data, DocumentFormat DocumentFormat )
Parameters
- Data
- The document data stored in the array of bytes. This object must be properly initialized and it must be disposed of by the user as well.
- DocumentFormat
- Optional parameter. A member of the DocumentFormat enumeration specifying the format of the source document, that is stored in the provided byte array. If not provided the toolkit will try to automatically recognize the type of the document based byte array content.
Return Value
A member of the GdPictureStatus enumeration. If the method has been successfully followed, then the return value is GdPictureStatus.OK.
We strongly recommend always checking this status first.