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

In This Topic
    FromFile Method (EmbeddedFileStream)
    In This Topic
    Creates a new instance of EmbeddedFileStream from the specified file name.

    The file data will be read when the GcPdfDocument is saved.

    Syntax
    'Declaration
     
    Public Shared Function FromFile( _
       ByVal doc As GcPdfDocument, _
       ByVal fileName As System.String _
    ) As EmbeddedFileStream
    public static EmbeddedFileStream FromFile( 
       GcPdfDocument doc,
       System.string fileName
    )

    Parameters

    doc
    The owner document.
    fileName
    The file name.

    Return Value

    The newly created object.
    See Also