diff --git a/File-Formats/PDF/Split-Documents.md b/File-Formats/PDF/Split-Documents.md index e32fcaf06..7ca224269 100644 --- a/File-Formats/PDF/Split-Documents.md +++ b/File-Formats/PDF/Split-Documents.md @@ -301,7 +301,7 @@ The Syncfusion PDF library enables the splitting of PDF documents and offers the {% tabs %} {% highlight c# tabtitle="C# [Cross-platform]" %} - +{% raw %} //Load the existing PDF file. PdfLoadedDocument loadDocument = new PdfLoadedDocument(new FileStream("Input.pdf", FileMode.Open)); //Subscribe to the document split event. @@ -321,11 +321,11 @@ splitOptions.RemoveUnusedResources = true; loadDocument.SplitByRanges(new int[,] { { 0, 5 }, { 5, 10 } }, splitOptions); //Close the document. loadDocument.Close(true); - +{% endraw %} {% endhighlight %} {% highlight c# tabtitle="C# [Windows-specific]" %} - +{% raw %} //Create the values. int[,] values = new int[,] { { 2, 5 }, { 8, 10 } }; //Load the PDF document. @@ -340,11 +340,11 @@ splitOptions.RemoveUnusedResources = true; loadedDocument.SplitByRanges(destinationFilePattern, values, splitOptions); //Close the document. loadedDocument.Close(true); - +{% endraw %} {% endhighlight %} {% highlight vb.net tabtitle="VB.NET [Windows-specific]" %} - +{% raw %} 'Create the values. Dim values As Integer(,) = New Integer(,) {{2, 5},{8, 10}} 'Load the PDF document. @@ -360,7 +360,7 @@ loadedDocument.SplitByRanges(destinationFilePattern, values, splitOptions) 'Close the document. loadedDocument.Close(True) - +{% endraw %} {% endhighlight %} {% endtabs %} @@ -375,7 +375,7 @@ The Syncfusion PDF library enables the splitting of PDF documents and offers the {% tabs %} {% highlight c# tabtitle="C# [Cross-platform]" %} - +{% raw %} //Load an existing PDF file. PdfLoadedDocument loadDocument = new PdfLoadedDocument(new FileStream("Input.pdf", FileMode.Open)); //Subscribe to the document split event. @@ -396,11 +396,11 @@ loadDocument.SplitByRanges(new int[,] { { 0, 1 }, { 1, 2 } }, splitOptions); //Close the document. loadDocument.Close(true); - +{% endraw %} {% endhighlight %} {% highlight c# tabtitle="C# [Windows-specific]" %} - +{% raw %} //Create the values. int[,] values = new int[,] { { 0, 1 }, { 1, 2 } }; //Load the PDF document. @@ -416,11 +416,11 @@ loadedDocument.SplitByRanges(destinationFilePattern, values, splitOptions); //Close the document. loadedDocument.Close(true); - +{% endraw %} {% endhighlight %} {% highlight vb.net tabtitle="VB.NET [Windows-specific]" %} - +{% raw %} 'Create the values. Dim values As Integer(,) = New Integer(,) {{0, 1},{1, 2}} 'Load the PDF document. @@ -436,7 +436,7 @@ loadedDocument.SplitByRanges(destinationFilePattern, values, splitOptions) 'Close the document. loadedDocument.Close(True) - +{% endraw %} {% endhighlight %} {% endtabs %}