Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - icon size
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

icon size

 Post Reply Post Reply
Author
Message
Fabian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 22 November 2004
Location: Switzerland
Status: Offline
Points: 336
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fabian Quote  Post ReplyReply Direct Link To This Post Topic: icon size
    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
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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
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....
Back to Top
Fabian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 22 November 2004
Location: Switzerland
Status: Offline
Points: 336
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fabian Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.045 seconds.