Print Page | Close Window

how to get the row height of CXTPReportCtrl

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=24109
Printed Date: 26 April 2024 at 7:55am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: how to get the row height of CXTPReportCtrl
Posted By: yangyanhui
Subject: how to get the row height of CXTPReportCtrl
Date Posted: 04 December 2020 at 12:24am
Hi,how to get the row height of  CXTPReportCtrl?I need to get the row height of a reportctrl to calculate the total height of it.How can I realize it?I cannot set a fixed value as the row height is different under different resolution.
thanks



Replies:
Posted By: BobC
Date Posted: 08 December 2020 at 11:01am
Some things like that are in Paint Manager classes, so take a look at CXTPReportPaintManager::GetRowHeightEx(). You get the paint manager control pointer by calling CXTPReportControl::GetPaintManager().



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net