C# 클래스 Bloom.Publish.PdfMaker

Creates a pdf from Html, optionally layed out in various booklet layouts
파일 보기 프로젝트 열기: BloomBooks/BloomDesktop 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ShowCropMarks bool

공개 메소드들

메소드 설명
MakePdf ( string inputHtmlPath, string outputPdfPath, string paperSizeName, bool landscape, bool saveMemoryMode, bool layoutPagesForRightToLeft, PublishModel booketLayoutMethod, PublishModel bookletPortion, BackgroundWorker worker, DoWorkEventArgs doWorkEventArgs, Control owner ) : void

비공개 메소드들

메소드 설명
CheckPdf ( string outputPdfPath ) : void
GetZoomBasedOnScreenDPISettings ( ) : double
MakeBooklet ( string pdfPath, string incomingPaperSize, PublishModel booketLayoutMethod, bool layoutPagesForRightToLeft ) : void

메소드 상세

MakePdf() 공개 메소드

public MakePdf ( string inputHtmlPath, string outputPdfPath, string paperSizeName, bool landscape, bool saveMemoryMode, bool layoutPagesForRightToLeft, PublishModel booketLayoutMethod, PublishModel bookletPortion, BackgroundWorker worker, DoWorkEventArgs doWorkEventArgs, Control owner ) : void
inputHtmlPath string
outputPdfPath string
paperSizeName string A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,B0,B1,B10,B2,B3,B4,B5,B6,B7,B8,B9,C5E,Comm10E,DLE,Executive,Folio,Ledger,Legal,Letter,Tabloid
landscape bool true if landscape orientation, false if portrait orientation
saveMemoryMode bool true if PDF file is to be produced using less memory (but more time)
layoutPagesForRightToLeft bool true if RTL, false if LTR layout
booketLayoutMethod PublishModel NoBooklet,SideFold,CutAndStack,Calendar
bookletPortion PublishModel None,AllPagesNoBooklet,BookletCover,BookletPages,InnerContent
worker System.ComponentModel.BackgroundWorker If not null, the Background worker which is running this task, and may be queried to determine whether a cancel is being attempted
doWorkEventArgs System.ComponentModel.DoWorkEventArgs The event passed to the worker when it was started. If a cancel is successful, it's Cancel property should be set true.
owner System.Windows.Forms.Control A control which can be used to invoke parts of the work which must be done on the ui thread.
리턴 void

프로퍼티 상세

ShowCropMarks 공개적으로 프로퍼티

turns on crop marks and TrimBox
public bool ShowCropMarks
리턴 bool