[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.EmbeddedFileStream.FromBytes

FromBytes Method

FromBytes(GcPdfDocument, byte[])

Creates a new instance of EmbeddedFileStream from the specified array of bytes.

Declaration
public static EmbeddedFileStream FromBytes(GcPdfDocument doc, byte[] bytes)
Public Shared Function FromBytes(doc As GcPdfDocument, bytes As Byte()) As EmbeddedFileStream
Parameters
Type Name Description
GcPdfDocument doc

The owner document.

byte[] bytes

The file data.

Returns
Type Description
EmbeddedFileStream

The newly created object.