I can set FontName, FontSize, FontStyle, FontColor, BrushColor, and Alignment (horizontal) using CellProperties, and as far as I can tell, that works correctly.
But VAlignment doesn't work. What am I doing wrong?
I read somewhere that it should work via OnGetAlignment, but that was in a different place, so I don't have that information anymore.
It would be really cool if VAlignment worked too.
if GetBitUI8(Projekt.CalcPDFFm[tmceFmIdx].Layout,cly_Right) then
pdf_StrGr.CellProperties[ACol,ARow].Alignment := taRightJustify;
if GetBitUI8(Projekt.CalcPDFFm[tmceFmIdx].Layout,cly_CentH) then
pdf_StrGr.CellProperties[ACol,ARow].Alignment := taCenter;
if GetBitUI8(Projekt.CalcPDFFm[tmceFmIdx].Layout,cly_Bott) then
pdf_StrGr.CellProperties[ACol,ARow].VAlignment := vtaBottom;
if GetBitUI8(Projekt.CalcPDFFm[tmceFmIdx].Layout,cly_CentV) then
pdf_StrGr.CellProperties[ACol,ARow].VAlignment := vtaCenter;
pdf_StrGr.CellProperties[ACol,ARow].FontName := Projekt.CalcPDFFm[tmceFmIdx].Font.Name;
pdf_StrGr.CellProperties[ACol,ARow].FontSize := Projekt.CalcPDFFm[tmceFmIdx].Font.Size;
pdf_StrGr.CellProperties[ACol,ARow].FontStyle := Projekt.CalcPDFFm[tmceFmIdx].Font.Style;
pdf_StrGr.CellProperties[ACol,ARow].FontColor := Projekt.CalcPDFFm[tmceFmIdx].FontColor;
pdf_StrGr.CellProperties[ACol,ARow].BrushColor := Projekt.CalcPDFFm[tmceFmIdx].HintColor;
