TReportValue Record
Contains the values you can enter inside a report. This might be a TCellValue, an array of CellValues or an image as a ByteArray.
Syntax
Unit: FlexCel.Report
TReportValue = record;
Methods
Name | Description |
---|---|
Empty | Returns an empty TReportValue |
Create | Creates a new TReportValue from a TCellValue. Note: You normally won't need to call this method, since conversion is automatic. |
HasValue | Returns true if the record isn't empty. |
HasCellValue | Returns true if the record contains a TCellValue, meaning that the Value property is valid. |
Operators
Name | Description |
---|---|
Implicit Conversion | Overloaded Implicit conversion from TCellValue to TReportValue Implicit conversion from string to TReportValue Implicit conversion from TRichString to TReportValue Implicit conversion from Double to TReportValue Implicit conversion from Extended to TReportValue Implicit conversion from TDateTime to TReportValue Implicit conversion from Integer to TReportValue Implicit conversion from Int64 to TReportValue Implicit conversion from Currency to TReportValue Implicit conversion from Boolean to TReportValue Implicit conversion from TCellValueArray to TReportValue Implicit conversion from TFlxFormulaErrorValue to TReportValue Implicit conversion from TBytes to TReportValue |
Equality | Adapts the = operator so it returns true when both instances have the same values. |
Inequality | Adapts the <> operator so it returns true when both instances have different values. |
Properties
Name | Description |
---|---|
Value | Value for the report, when it contains a TCellValue. If the record doesn't contain a TCellValue, this property will be TCellValue.Empty |
ValueArray | Array of TCellValue inside this record. If this record doesn't contain an array of TCellValue, this property will be nil |
ValueBytes | Value of this record as a byte array, used to represent images. If this record doesn't contain a byte array, this property will be null. |