TExportCellComment

Description

TExportCellComment stores the information about a specific cell comment.

Properties

NameTypeDescription
RectTClassRectThe rect where the comment is placed.
The origin of the rect is the upper-right corner of the cell.
AlignmentTCellHAlignmentHorizontal alignment
VAlignmentTCellVAlignmentVertical alignment
FontTExportFontFont
BGColorTColorBackground color
TextOWideStringThe text of the comment.

Functions & procedures

function AppendFormattedText*(const aText: OWideString; *): TExportCellComment;
The AppendFormattedText* functions append aText to current cell text with the formatting you specify.
function ApplyRichTextFormatting*(const aStartChar, aLength: Integer; *): TExportCellComment;
The ApplyRichTextFormatting* functions apply a new formatting on the selection defined by aStartChar and aLength (aStartChar is 1-based).
Categories