![]() |
ImageManagerIcon not scaling |
Post Reply ![]() |
Author | |
ijwelch ![]() Senior Member ![]() Joined: 20 June 2006 Status: Offline Points: 262 |
![]() ![]() ![]() ![]() ![]() Posted: 12 October 2007 at 4:42am |
Hi,
The following code always returns the original image width: ImgMgrControl.Icons.GetImage(ICONID, 48).Width I understand the image should be scaled to width=48. Also, the Scale method does nothing. Thanks |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Yes. width parameter help to find closest icon but icon will not be scaled.
when you draw icon set size you need to draw and it will draw it scaled.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
ijwelch ![]() Senior Member ![]() Joined: 20 June 2006 Status: Offline Points: 262 |
![]() ![]() ![]() ![]() ![]() |
So will Scale method be fixed?
I want to load image (size not known at design-time) then copy to report control imagemanager scaling to, say, 32 px. eg, Load png (could be any size eg 256 px) Show preview/thumbnail in report control at 32px. Any ideas? |
|
![]() |
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 |