ImageList problem?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • qushui_chen

    #1

    ImageList problem?

    How can i let ImageList control contain Image in use show the Image really
    size.
    I see the ImageList have set ex:Size(255,255 );


  • Marcin Grzêbski

    #2
    Re: ImageList problem?

    Hi,

    Are you sure that you want to store bigger than 256x256 images in ImageList?
    Image list is designed rather to image preview than full image display.
    Other thing is, that (e.g.) 16 images 1000x1000x32b in memory == 64 MB,
    so you should not store these as a application/module resources...

    To store any Image objects you can use any Collection, e.g. ArrayList.

    Regards

    Marcin

    qushui_chen wrote:
    [color=blue]
    > How can i let ImageList control contain Image in use show the Image really
    > size.
    > I see the ImageList have set ex:Size(255,255 );
    >
    >[/color]

    Comment

    Working...