Documents for PDF, .NET Edition Documentation
FromFile Method (EmbeddedFileStream)

GrapeCity.Documents.Pdf Assembly > GrapeCity.Documents.Pdf Namespace > EmbeddedFileStream Class : FromFile Method
The owner document.
The file name.
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

Reference

EmbeddedFileStream Class
EmbeddedFileStream Members