OpenPetra
Free Administration Software for Non-Profits
Ict.Petra.Shared.MReporting.TColumnSettingCollection Class Reference

More...

Public Member Functions

void ResizeAllColumns (float AFactor)
 Resizes all Column Widths More...
 
float GetLeftValueForPositionIndex (int pos)
 Gets the FastReport "Left" for a Position More...
 
float GetWidthValueForPositionIndex (int pos)
 Gets the FastReport "Width" for a Position. Returns 0 if index not found. More...
 
float GetTotalWidth ()
 Gets the total width of all columns. More...
 
void SetSettingForColumn (String AColumnName, TColumnSetting AColumnSetting)
 Sets the Column Settings for an existing or a new Column Name More...
 
void SetSettingForColumn (TColumnSetting AColumnSetting)
 Sets the Column Settings for an existing or a new Column Name stored inside the AColumnSetting object. More...
 
Boolean HasSettingForColumn (String AColumnName)
 Returns true if TColumnSetting exists for Column Name More...
 
TColumnSetting GetSettingForColumn (String AColumnName)
 Returns the TColumnSetting by Column Name More...
 
TColumnSetting GetSettingForColumn (int AColumnIndex)
 Returns the TColumnSetting by Column Index More...
 
string SerialiseCollection ()
 Serialises the Collection More...
 
void DeserialiseCollection (string ASerialisedCollection)
 Deserialises the Collection More...
 

Properties

int Count [get]
 Returns the number of TColumnsSettings More...
 

Detailed Description

Member Function Documentation

◆ DeserialiseCollection()

void Ict.Petra.Shared.MReporting.TColumnSettingCollection.DeserialiseCollection ( string  ASerialisedCollection)
inline

Deserialises the Collection

Parameters
ASerialisedCollection

◆ GetLeftValueForPositionIndex()

float Ict.Petra.Shared.MReporting.TColumnSettingCollection.GetLeftValueForPositionIndex ( int  pos)
inline

Gets the FastReport "Left" for a Position

Parameters
pos
Returns

◆ GetSettingForColumn() [1/2]

TColumnSetting Ict.Petra.Shared.MReporting.TColumnSettingCollection.GetSettingForColumn ( int  AColumnIndex)
inline

Returns the TColumnSetting by Column Index

Parameters
AColumnIndex
Returns

◆ GetSettingForColumn() [2/2]

TColumnSetting Ict.Petra.Shared.MReporting.TColumnSettingCollection.GetSettingForColumn ( String  AColumnName)
inline

Returns the TColumnSetting by Column Name

Parameters
AColumnName
Returns

◆ GetTotalWidth()

float Ict.Petra.Shared.MReporting.TColumnSettingCollection.GetTotalWidth ( )
inline

Gets the total width of all columns.

Returns

◆ GetWidthValueForPositionIndex()

float Ict.Petra.Shared.MReporting.TColumnSettingCollection.GetWidthValueForPositionIndex ( int  pos)
inline

Gets the FastReport "Width" for a Position. Returns 0 if index not found.

Parameters
pos
Returns

◆ HasSettingForColumn()

Boolean Ict.Petra.Shared.MReporting.TColumnSettingCollection.HasSettingForColumn ( String  AColumnName)
inline

Returns true if TColumnSetting exists for Column Name

Parameters
AColumnName
Returns

◆ ResizeAllColumns()

void Ict.Petra.Shared.MReporting.TColumnSettingCollection.ResizeAllColumns ( float  AFactor)
inline

Resizes all Column Widths

Parameters
AFactor

◆ SerialiseCollection()

string Ict.Petra.Shared.MReporting.TColumnSettingCollection.SerialiseCollection ( )
inline

Serialises the Collection

Returns

◆ SetSettingForColumn() [1/2]

void Ict.Petra.Shared.MReporting.TColumnSettingCollection.SetSettingForColumn ( String  AColumnName,
TColumnSetting  AColumnSetting 
)
inline

Sets the Column Settings for an existing or a new Column Name

Parameters
AColumnName
AColumnSetting

◆ SetSettingForColumn() [2/2]

void Ict.Petra.Shared.MReporting.TColumnSettingCollection.SetSettingForColumn ( TColumnSetting  AColumnSetting)
inline

Sets the Column Settings for an existing or a new Column Name stored inside the AColumnSetting object.

Parameters
AColumnSetting

Property Documentation

◆ Count

int Ict.Petra.Shared.MReporting.TColumnSettingCollection.Count
get

Returns the number of TColumnsSettings


The documentation for this class was generated from the following file: