C# 클래스 EnterpriseWebLibrary.IO.PdfOps

Contains methods related to PDF documents.
파일 보기 프로젝트 열기: enduracode/enterprise-web-library

공개 메소드들

메소드 설명
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