C# Class PdfRpt.Core.Helper.ElementsWidth

This class tries to find some Pdf elements width, before rendering.
Exibir arquivo Open project: VahidN/PdfReport

Public Methods

Method 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

Method Description
getListWidth ( IList rulesWidth, float startWidth, float cellWidth, IElement baseLevel ) : float

Method Details

AutoResizeTableColumns() public static method

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

GetCellWidth() public static method

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

GetPhraseWidth() public static method

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