PDF File Writer Class Library - Author Uzi Granot
PdfEmbeddedFileCreateEmbeddedFile Method |
PDF embedded file class constructor
Namespace: PdfFileWriter
Assembly: PdfFileWriter (in PdfFileWriter.dll) Version: 1.1.24.0 (1.1.24.0)

C#
public static PdfEmbeddedFile CreateEmbeddedFile( PdfDocument Document, string FileName, string PdfFileName = null )
Parameters
- Document
- Type: PdfFileWriterPdfDocument
Current document - FileName
- Type: SystemString
File name - PdfFileName (Optional)
- Type: SystemString
PDF file name (see remarks)
Return Value
Type: PdfEmbeddedFilePdfEmbeddedFile object

FileName is the name of the source file on the hard disk. PDFFileName is the name of the as saved within the PDF document file. If PDFFileName is not given or it is set to null, the class takes the hard disk's file name without the path.
