ReportControl Default Font |
Post Reply |
Author | |||
evamation
Newbie Joined: 02 February 2014 Status: Offline Points: 8 |
Post Options
Thanks(0)
Posted: 25 November 2015 at 6:29am |
||
Hello.
I want to know ReportControl's default font information. for example, if we add item CXTPReportRecordItemText, we can see the text having some font attribute. How can I get the font information? |
|||
olebed
Admin Group Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
|
||
Hello,
See using XTP_REPORTRECORDITEM_METRICS::pFont in CXTPReportRow::GetItemMetrics
then in CXTPReportRow::GetItemMetrics -> CXTPReportRecordItem::GetItemMetrics
so you can use next code to get font of ReportRecordItemText
Also note that item's font can be changed on fly when XTP_NM_REPORT_GETITEMMETRICS notification is handled. Regards, Oleksandr Lebed |
|||
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |