标签:
在frxRichView中有几段文字,如何给第一段文字设置不同的字体?
感激大虾们能给下答案!!!
来源:http://bbs.csdn.net/topics/390952125?page=1
解答:
frxReport1->LoadFromFile(L
"D:\\ccrun\\123.fr3"
);
TfrxRichView *f = (TfrxRichView *)frxReport1->FindComponent(
"Rich1"
);
if
(f)
{
f->RichEdit->SelStart = 0;
f->RichEdit->SelLength = 10;
f->RichEdit->SelAttributes->Name = L
"楷体"
;
f->RichEdit->SelAttributes->Size = 17;
f->RichEdit->SelAttributes->Color = clBlue;
}
frxReport1->ShowReport();
FastReport中的frxRichView如何设置二种不同的字体 [问题点数:100分,结帖人LIULIVERYOK]
标签:
原文地址:http://www.cnblogs.com/lantianhf/p/5599010.html