Document Solutions for PDF
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / EmbeddedFileStream Class / FromBytes Method
The owner document.
The file data.

In This Topic
    FromBytes Method (EmbeddedFileStream)
    In This Topic
    Creates a new instance of EmbeddedFileStream from the specified array of bytes.
    Syntax
    'Declaration
     
    Public Shared Function FromBytes( _
       ByVal doc As GcPdfDocument, _
       ByVal bytes() As System.Byte _
    ) As EmbeddedFileStream
    public static EmbeddedFileStream FromBytes( 
       GcPdfDocument doc,
       System.byte[] bytes
    )

    Parameters

    doc
    The owner document.
    bytes
    The file data.

    Return Value

    The newly created object.
    See Also