C# Класс EnterpriseWebLibrary.IO.PdfOps

Contains methods related to PDF documents.
Показать файл Открыть проект

Открытые методы

Метод Описание
ConcatPdfs ( IEnumerable inputStreams, Stream outputStream ) : void

Concatenates the specified PDF documents and writes the result to the specified output stream.

CreateBookmarkedPdf ( MemoryStream>.IEnumerable bookmarkNamesAndPdfStreams, Stream outputStream ) : void

Concatenates the specified PDF documents and creates bookmarks to the beginning of each file, specified by the title passed in the Tuple.

Приватные методы

Метод Описание
Test ( ) : void
addBookmarksToPdf ( byte pdf, byte[]>.IEnumerable titleAndPdfs ) : byte[]

Adds a bookmark to the first page of each of the given PDFs in the Tuple's byte array, using the string in that Tuple for the title of the bookmark.

resetFileStream ( ) : void
setShowBookmarksPaneOnOpen ( byte pdf ) : byte[]

Sets the PDF to be showing the Bookmarks pane (document outline) on document open.

Описание методов

ConcatPdfs() публичный статический Метод

Concatenates the specified PDF documents and writes the result to the specified output stream.
public static ConcatPdfs ( IEnumerable inputStreams, Stream outputStream ) : void
inputStreams IEnumerable
outputStream Stream
Результат void

CreateBookmarkedPdf() публичный статический Метод

Concatenates the specified PDF documents and creates bookmarks to the beginning of each file, specified by the title passed in the Tuple.
public static CreateBookmarkedPdf ( MemoryStream>.IEnumerable bookmarkNamesAndPdfStreams, Stream outputStream ) : void
bookmarkNamesAndPdfStreams MemoryStream>.IEnumerable Title to write in the bookmark, PDF MemoryStream
outputStream Stream Stream in which to write
Результат void