Description
Split the PDF document and get for each page a separate PDF file.

Namespace:  DuoDimension
Assembly:  pdfduo-net (in pdfduo-net.dll)
Version: 2.3.0.0 (2.3)

Syntax

      
 C#  Visual Basic 
public static void PdfSplit(
	string SourceFile,
	string OutputPath
)
Public Shared Sub PdfSplit ( _
	SourceFile As String, _
	OutputPath As String _
)

Parameters

SourceFile
String
Source PDF file.
OutputPath
String
Directory for destination files.

Examples

CopyC#
string file_pdf = @"D:\document.pdf";
string dir_out = @"D:\";

try
{
    DuoDimension.PdfTools.PdfSplit(file_pdf, dir_out);
}
catch (Exception ex)
{
    MessageBox.Show(ex.Message);
}
CopyVB.NET
Dim file_pdf As String = "D:\document.pdf" 
Dim dir_out As String = "D:\"

Try
    DuoDimension.PdfTools.PdfSplit(file_pdf, dir_out)
Catch ex As Exception
    MessageBox.Show(ex.Message)
End Try

See Also

PdfTools Class
DuoDimension Namespace