C# Class PdfRpt.FluentInterface.DocumentPreferencesBuilder

PagePreferences Builder Class.
Afficher le fichier Open project: VahidN/PdfReport Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

AddFileAttachment() public méthode

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
Résultat void

BackgroundImage() public méthode

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.
Résultat void

Compression() public méthode

Compression settings.
public Compression ( PdfRpt.Core.Contracts.CompressionSettings settings ) : void
settings PdfRpt.Core.Contracts.CompressionSettings Compression settings
Résultat void

ConformanceLevel() public méthode

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
Résultat void

CustomPageSize() public méthode

Sets the page size to PageSize.A4 for instance.
public CustomPageSize ( iTextSharp pageSize ) : void
pageSize iTextSharp selected page size
Résultat void

DiagonalWatermark() public méthode

A watermark text to display.
public DiagonalWatermark ( DiagonalWatermark watermark ) : void
watermark PdfRpt.Core.Contracts.DiagonalWatermark watermark settings
Résultat void

DocumentMargins() public méthode

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
Résultat void

DocumentMetadata() public méthode

Sets document's metadata.
public DocumentMetadata ( PdfRpt.Core.Contracts.DocumentMetadata metadata ) : void
metadata PdfRpt.Core.Contracts.DocumentMetadata document's metadata
Résultat void

DocumentPreferencesBuilder() public méthode

ctor.
public DocumentPreferencesBuilder ( PdfReport pdfReport ) : System.Collections.Generic
pdfReport PdfReport
Résultat System.Collections.Generic

Orientation() public méthode

Sets the PageOrientation.
public Orientation ( PageOrientation value ) : void
value PageOrientation Page Orientation
Résultat void

PageSize() public méthode

Sets the page size to PageSize.A4 for instance.
public PageSize ( PdfPageSize size ) : void
size PdfPageSize selected page size
Résultat void

PagesBackgroundColor() public méthode

Setting Page Background Color.
public PagesBackgroundColor ( System backgroundColor ) : void
backgroundColor System Pages Background Color
Résultat void

PrintingPreferences() public méthode

Indicates default values of print dialog box.
public PrintingPreferences ( PdfRpt.Core.Contracts.PrintingPreferences preferences ) : void
preferences PdfRpt.Core.Contracts.PrintingPreferences printing preferences
Résultat void

RunDirection() public méthode

Sets the run direction to rtl or ltr.
public RunDirection ( PdfRunDirection direction ) : void
direction PdfRunDirection run direction, rtl or ltr
Résultat void

ViewerPreferences() public méthode

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