C# 클래스 PdfRpt.FluentInterface.DocumentPreferencesBuilder

PagePreferences Builder Class.
파일 보기 프로젝트 열기: VahidN/PdfReport 1 사용 예제들

공개 메소드들

메소드 설명
AddFileAttachment ( PdfRpt.Core.Contracts.FileAttachment fileAttachment ) : void

Adds an optional file attachment at the document level.

BackgroundImage ( string backgroundImageFilePath, System position = null ) : void

Background image's file path and position.

Compression ( PdfRpt.Core.Contracts.CompressionSettings settings ) : void

Compression settings.

ConformanceLevel ( PdfXConformance level ) : void

Sets subsets of the PDF specification (ISO 15930-1 to ISO 15930-8) that promise predictable and consistent output for press printing.

CustomPageSize ( iTextSharp pageSize ) : void

Sets the page size to PageSize.A4 for instance.

DiagonalWatermark ( DiagonalWatermark watermark ) : void

A watermark text to display.

DocumentMargins ( PdfRpt.Core.Contracts.DocumentMargins margins ) : void

Sets the new document's margins. Its predefined values are Bottom = 60, Left = 36, Right = 36, Top = 36.

DocumentMetadata ( PdfRpt.Core.Contracts.DocumentMetadata metadata ) : void

Sets document's metadata.

DocumentPreferencesBuilder ( PdfReport pdfReport ) : System.Collections.Generic

ctor.

Orientation ( PageOrientation value ) : void

Sets the PageOrientation.

PageSize ( PdfPageSize size ) : void

Sets the page size to PageSize.A4 for instance.

PagesBackgroundColor ( System backgroundColor ) : void

Setting Page Background Color.

PrintingPreferences ( PdfRpt.Core.Contracts.PrintingPreferences preferences ) : void

Indicates default values of print dialog box.

RunDirection ( PdfRunDirection direction ) : void

Sets the run direction to rtl or ltr.

ViewerPreferences ( PdfViewerPreferences preferences ) : void

Specifies the Adobe Reader's settings when a document is opened.

메소드 상세

AddFileAttachment() 공개 메소드

Adds an optional file attachment at the document level.
public AddFileAttachment ( PdfRpt.Core.Contracts.FileAttachment fileAttachment ) : void
fileAttachment PdfRpt.Core.Contracts.FileAttachment a file attachment
리턴 void

BackgroundImage() 공개 메소드

Background image's file path and position.
public BackgroundImage ( string backgroundImageFilePath, System position = null ) : void
backgroundImageFilePath string Background image's file path.
position System Background image's position. If it's set to null, the image will be painted at the center of the page.
리턴 void

Compression() 공개 메소드

Compression settings.
public Compression ( PdfRpt.Core.Contracts.CompressionSettings settings ) : void
settings PdfRpt.Core.Contracts.CompressionSettings Compression settings
리턴 void

ConformanceLevel() 공개 메소드

Sets subsets of the PDF specification (ISO 15930-1 to ISO 15930-8) that promise predictable and consistent output for press printing.
public ConformanceLevel ( PdfXConformance level ) : void
level PdfXConformance conformance level
리턴 void

CustomPageSize() 공개 메소드

Sets the page size to PageSize.A4 for instance.
public CustomPageSize ( iTextSharp pageSize ) : void
pageSize iTextSharp selected page size
리턴 void

DiagonalWatermark() 공개 메소드

A watermark text to display.
public DiagonalWatermark ( DiagonalWatermark watermark ) : void
watermark PdfRpt.Core.Contracts.DiagonalWatermark watermark settings
리턴 void

DocumentMargins() 공개 메소드

Sets the new document's margins. Its predefined values are Bottom = 60, Left = 36, Right = 36, Top = 36.
public DocumentMargins ( PdfRpt.Core.Contracts.DocumentMargins margins ) : void
margins PdfRpt.Core.Contracts.DocumentMargins The new document's margins
리턴 void

DocumentMetadata() 공개 메소드

Sets document's metadata.
public DocumentMetadata ( PdfRpt.Core.Contracts.DocumentMetadata metadata ) : void
metadata PdfRpt.Core.Contracts.DocumentMetadata document's metadata
리턴 void

DocumentPreferencesBuilder() 공개 메소드

ctor.
public DocumentPreferencesBuilder ( PdfReport pdfReport ) : System.Collections.Generic
pdfReport PdfReport
리턴 System.Collections.Generic

Orientation() 공개 메소드

Sets the PageOrientation.
public Orientation ( PageOrientation value ) : void
value PageOrientation Page Orientation
리턴 void

PageSize() 공개 메소드

Sets the page size to PageSize.A4 for instance.
public PageSize ( PdfPageSize size ) : void
size PdfPageSize selected page size
리턴 void

PagesBackgroundColor() 공개 메소드

Setting Page Background Color.
public PagesBackgroundColor ( System backgroundColor ) : void
backgroundColor System Pages Background Color
리턴 void

PrintingPreferences() 공개 메소드

Indicates default values of print dialog box.
public PrintingPreferences ( PdfRpt.Core.Contracts.PrintingPreferences preferences ) : void
preferences PdfRpt.Core.Contracts.PrintingPreferences printing preferences
리턴 void

RunDirection() 공개 메소드

Sets the run direction to rtl or ltr.
public RunDirection ( PdfRunDirection direction ) : void
direction PdfRunDirection run direction, rtl or ltr
리턴 void

ViewerPreferences() 공개 메소드

Specifies the Adobe Reader's settings when a document is opened.
public ViewerPreferences ( PdfViewerPreferences preferences ) : void
preferences PdfRpt.Core.Contracts.PdfViewerPreferences viewer preferences
리턴 void