C# Class PdfRpt.Core.Helper.ElementsWidth

This class tries to find some Pdf elements width, before rendering.
Afficher le fichier Open project: VahidN/PdfReport

Méthodes publiques

Méthode Description
AutoResizeTableColumns ( this table ) : void

Tries to auto resize the specified table columns.

GetCellWidth ( this cell ) : float

Tries to find the PdfPCell's width, before rendering

GetPhraseWidth ( this phrase ) : float

Tries to find the Phrase's width, before rendering

Private Methods

Méthode Description
getListWidth ( IList rulesWidth, float startWidth, float cellWidth, IElement baseLevel ) : float

Method Details

AutoResizeTableColumns() public static méthode

Tries to auto resize the specified table columns.
public static AutoResizeTableColumns ( this table ) : void
table this pdf table
Résultat void

GetCellWidth() public static méthode

Tries to find the PdfPCell's width, before rendering
public static GetCellWidth ( this cell ) : float
cell this pdf cell
Résultat float

GetPhraseWidth() public static méthode

Tries to find the Phrase's width, before rendering
public static GetPhraseWidth ( this phrase ) : float
phrase this the phrase
Résultat float