XFINIUM.PDF Documentation
InsertFile(Int32,Int32,String) Method



Xfinium.Pdf Namespace > PdfFixedDocument Class > InsertFile Method : InsertFile(Int32,Int32,String) Method
Position in the Pages collection where the pages from the file are inserted.
Position in the Outline collection where the outlines from the file are inserted.
Path to Pdf file to append.
Inserts a Pdf file in the document.
Syntax
'Declaration
 
Public Overloads Sub InsertFile( _
   ByVal pageIndex As Integer, _
   ByVal outlineIndex As Integer, _
   ByVal fileName As String _
) 
'Usage
 
Dim instance As PdfFixedDocument
Dim pageIndex As Integer
Dim outlineIndex As Integer
Dim fileName As String
 
instance.InsertFile(pageIndex, outlineIndex, fileName)
public void InsertFile( 
   int pageIndex,
   int outlineIndex,
   string fileName
)
public:
void InsertFile( 
   int pageIndex,
   int outlineIndex,
   String^ fileName
) 

Parameters

pageIndex
Position in the Pages collection where the pages from the file are inserted.
outlineIndex
Position in the Outline collection where the outlines from the file are inserted.
fileName
Path to Pdf file to append.
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PdfFixedDocument Class
PdfFixedDocument Members
Overload List