mirror of
https://github.com/johnwhitington/cpdf-source.git
synced 2025-06-05 22:09:39 +02:00
more
This commit is contained in:
BIN
cpdfmanual.pdf
BIN
cpdfmanual.pdf
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
\documentclass{book}
|
||||
% Edit here to produce cpdfmanual.pdf, cpdflibmanual.pdf, pycpdfmanual.pdf etc.
|
||||
\usepackage{comment}\excludecomment{cpdflib}\excludecomment{pycpdflib}\includecomment{dotnetcpdflib}
|
||||
\usepackage{comment}\excludecomment{cpdflib}\excludecomment{pycpdflib}\excludecomment{dotnetcpdflib}
|
||||
\usepackage{palatino}
|
||||
\usepackage{listings}
|
||||
\usepackage{microtype}
|
||||
@ -410,14 +410,12 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using CoherentGraphics;
|
||||
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
// Initialise cpdf
|
||||
Cpdf.startup();
|
||||
// Initialise cpdf
|
||||
Cpdf.startup();
|
||||
|
||||
// We will take the input hello.pdf and repeat it three times
|
||||
using (Cpdf.Pdf mergepdf = Cpdf.fromFile("hello.pdf", ""))
|
||||
{
|
||||
// We will take the input hello.pdf and repeat it three times
|
||||
using (Cpdf.Pdf mergepdf = Cpdf.fromFile("hello.pdf", ""))
|
||||
{
|
||||
// The list of PDFs to merge
|
||||
List<Cpdf.Pdf> pdfs = new List<Cpdf.Pdf> {mergepdf, mergepdf, mergepdf};
|
||||
|
||||
@ -429,7 +427,6 @@ public static void Main(string[] args)
|
||||
|
||||
// Dispose of merged PDF
|
||||
merged.Dispose();
|
||||
}
|
||||
}
|
||||
\end{verbatim}
|
||||
\end{small}
|
||||
@ -448,12 +445,11 @@ imports System
|
||||
imports System.Collections.Generic
|
||||
imports CoherentGraphics
|
||||
|
||||
Sub Main(args as String())
|
||||
' Initialise cpdf
|
||||
Cpdf.startup()
|
||||
' Initialise cpdf
|
||||
Cpdf.startup()
|
||||
|
||||
' We will take the input hello.pdf and repeat it three times
|
||||
Using mergepdf As Cpdf.Pdf = Cpdf.fromFile("hello.pdf", "")
|
||||
' We will take the input hello.pdf and repeat it three times
|
||||
Using mergepdf As Cpdf.Pdf = Cpdf.fromFile("hello.pdf", "")
|
||||
' The list of PDFs to merge
|
||||
Dim pdfs As List(Of Cpdf.Pdf) =
|
||||
new List(Of Cpdf.Pdf)({mergepdf, mergepdf, mergepdf})
|
||||
@ -466,8 +462,7 @@ Sub Main(args as String())
|
||||
|
||||
' Dispose of merged PDF
|
||||
merged.Dispose()
|
||||
End Using
|
||||
End Sub
|
||||
End Using
|
||||
\end{verbatim}
|
||||
\end{small}
|
||||
|
||||
|
Reference in New Issue
Block a user