Print Page | Close Window

How to select icon size when using ImageManager?

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=22529
Printed Date: 27 November 2024 at 12:21am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to select icon size when using ImageManager?
Posted By: DaveH
Subject: How to select icon size when using ImageManager?
Date Posted: 04 February 2015 at 12:30am
If I Set ReportControl.Icons = ImageManager.Icons, and the ImageManager has multiple sizes for each ID, how do I select which size is used? The Report Control doesn't have a SetIconSize method like many other Codejock controls do. It seems to always use the 16x16.

I basically want to pick the appropriately-sized icon set based on the Windows DPI setting... e.g., use a 16x16 icon if 96 to 143 dpi, 24x24 if 144 to 191, and 32x32 if 192 or above.


-------------
SuitePro version 16.3.1

David Huang
Alterity, Inc.

http://www.acctivate.com" rel="nofollow - Inventory and Distribution Management for QuickBooks



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