Print Page | Close Window

icon size

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=11404
Printed Date: 20 July 2025 at 8:17am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: icon size
Posted By: Fabian
Subject: icon size
Date Posted: 11 July 2008 at 11:40am
Hi all
 
I first thought it was a simple matter to get the size of an icon but I do not find any solution:
 
What I need is the width/height of an icon in imagemanager from reportcontrol. I display different sized icons in imagemanager and should later get their size to print a report. With GetImage I can retrieve an icon and its size. But for GetImage I have to define a size (that I dont't know)...
 
Does anybody have a solution?
 
Many thanks in advance!
 
BTW: using VB6


-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.3

Platform: Windows 7 (32bit)

Language: Visual Basic 6.0 / SP6



Replies:
Posted By: Aaron
Date Posted: 11 July 2008 at 3:14pm
Hi,
 
Can you upload a sample project?
 
btw What version do you use  Wouldn't it be easier to enter this in your signature? Please look at post: http://forum.codejock.com/forum_posts.asp?TID=11225 - http://forum.codejock.com/forum_posts.asp?TID=11225


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: Fabian
Date Posted: 12 July 2008 at 7:54am
Problem solved. GetImage(ID,AnySize).Width returns always theh original size of the image, regardless of the value of 'AnySize'.

-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.3

Platform: Windows 7 (32bit)

Language: Visual Basic 6.0 / SP6



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