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



Xfinium.Pdf Namespace > PdfFixedDocument Class > InsertFile Method : InsertFile(Int32,Int32,Stream) 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.
Stream with the file to insert.
Inserts a Pdf file in the document.
Syntax
'Declaration
 
Public Overloads Sub InsertFile( _
   ByVal pageIndex As Integer, _
   ByVal outlineIndex As Integer, _
   ByVal stream As Stream _
) 
'Usage
 
Dim instance As PdfFixedDocument
Dim pageIndex As Integer
Dim outlineIndex As Integer
Dim stream As Stream
 
instance.InsertFile(pageIndex, outlineIndex, stream)
public void InsertFile( 
   int pageIndex,
   int outlineIndex,
   Stream stream
)
public:
void InsertFile( 
   int pageIndex,
   int outlineIndex,
   Stream^ stream
) 

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.
stream
Stream with the file to insert.
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