Re: Progressbar when loading imagefile
- From: Johnny Granberg <JohnnyGranberg@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 29 Aug 2005 01:00:02 -0700
That sounds a bit advanced, and i cant really find any information on how to
do it,
mind giving me a small example or do you know anywhere i can get more
information?
i tryed making a new class and added the keyword
"implements" but i cant find istream anywhere...
Thanks.
"Bob Powell [MVP]" wrote:
> I suggest implementing IStream yourself and sending notifications, perhaps
> via some event, to your progress-indicator.
>
> --
> Bob Powell [MVP]
> Visual C#, System.Drawing
>
> Ramuseco Limited .NET consulting
> http://www.ramuseco.com
>
> Find great Windows Forms articles in Windows Forms Tips and Tricks
> http://www.bobpowell.net/tipstricks.htm
>
> Answer those GDI+ questions with the GDI+ FAQ
> http://www.bobpowell.net/faqmain.htm
>
> All new articles provide code in C# and VB.NET.
> Subscribe to the RSS feeds provided and never miss a new article.
>
>
>
>
>
> "Johnny Granberg" <JohnnyGranberg@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
> message news:E0646AAD-CE5F-4F63-AD70-BB706A0A0A82@xxxxxxxxxxxxxxxx
> > im trying to figure out how to make a progressbar when loading images....
> >
> > im using the following code to open the file:
> >
> > Dim bmpInputStream As IO.Stream
> > Dim bmpSourceBitmap As Bitmap
> >
> > bmpInputStream = File.OpenRead(InputFilenames(SourceImageNumber))
> > bmpSourceBitmap = DirectCast(Image.FromStream(bmpInputStream, True, True),
> > Bitmap)
> >
> > is there any other way i can do it so i can see the progress of the file
> > load ?
> > since the images a load is quite big it takes a while to load, so it would
> > be nice to get some feedback from the program....
> >
> > Thanks...
> >
> >
>
>
>
.
- References:
- Progressbar when loading imagefile
- From: Johnny Granberg
- Re: Progressbar when loading imagefile
- From: Bob Powell [MVP]
- Progressbar when loading imagefile
- Prev by Date: How to make 16bpp/24bpp/8bppindexed PNG file in GDI+? why it's always 32bpp?
- Next by Date: Re: DrawImage Bug in .NET 2.0 ?
- Previous by thread: Re: Progressbar when loading imagefile
- Next by thread: Animation effects in VB.Net forms!
- Index(es):
Relevant Pages
|