C# Класс PdfRpt.FluentInterface.DocumentPreferencesBuilder

PagePreferences Builder Class.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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