PortfolioFilesCollectionAdd Method |
Adds an embedded file to the portfolio.
Namespace: ExpertPdf.Anywhere.PDFPortfolioAssembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntaxpublic void Add(
PortfolioFile file
)
Public Sub Add (
file As PortfolioFile
)
Parameters
- file PortfolioFile
- The embedded file to add.
Examplemanager.Files.Add(new PortfolioFile("data.csv",
System.IO.File.ReadAllBytes("data.csv")));manager.Files.Add(New PortfolioFile("data.csv",
System.IO.File.ReadAllBytes("data.csv")))
See Also