Click here to Skip to main content
15,906,816 members
Home / Discussions / C#
   

C#

 
GeneralRe: List suggestions for my needs Pin
grmihel23-May-10 4:28
grmihel23-May-10 4:28 
AnswerRe: List suggestions for my needs Pin
PIEBALDconsult29-Apr-10 8:23
mvePIEBALDconsult29-Apr-10 8:23 
GeneralRe: List suggestions for my needs Pin
grmihel23-May-10 4:24
grmihel23-May-10 4:24 
GeneralRe: List suggestions for my needs Pin
PIEBALDconsult3-May-10 5:19
mvePIEBALDconsult3-May-10 5:19 
GeneralRe: List suggestions for my needs Pin
grmihel24-May-10 0:13
grmihel24-May-10 0:13 
QuestionMulti-Page TIFF support Pin
Jordy "Kaiwa" Ruiter28-Apr-10 23:27
Jordy "Kaiwa" Ruiter28-Apr-10 23:27 
AnswerRe: Multi-Page TIFF support Pin
Luc Pattyn29-Apr-10 0:59
sitebuilderLuc Pattyn29-Apr-10 0:59 
QuestionRe: Multi-Page TIFF support [modified] Pin
Jordy "Kaiwa" Ruiter29-Apr-10 1:11
Jordy "Kaiwa" Ruiter29-Apr-10 1:11 
Well that is exactly what I tried to do Originally, and I already looked at the exact multi-page tiff viewer. The problem is, within the viewer when switching to the next page it loads the entire TIFF file again and then makes a Bitmap of it.

The problem with this is, my UserControl doesn't neccesarily has to have a file path (Because it can be passed in programmetically aswell). And to store the original TIFF file next to the Bitmap it would mean that I need double the resource for the same image. And once the TIFF file is loaded, there is no way to tell when opening a new image (going to next page for example) if it's

A.) The same TIFF file.
B.) Actually a Multi-Page TIFF file.

What this means is that I have no idea when to Dispose() the original TIFF file which would result in using unneccesary resources. With Multi-page TIFF files this could be ALOT!

I also tried Cloning the object but when I do that it gets locked and I get the same GDI+ generic error. Believe me I tried so many things.

I was just hoping someone would be like.. You forgot this little line.

Thanks for your help tho Smile | :)

modified on Thursday, April 29, 2010 8:03 AM

GeneralRe: Multi-Page TIFF support [modified] Pin
Luc Pattyn29-Apr-10 1:36
sitebuilderLuc Pattyn29-Apr-10 1:36 
GeneralRe: Multi-Page TIFF support Pin
Jordy "Kaiwa" Ruiter29-Apr-10 2:41
Jordy "Kaiwa" Ruiter29-Apr-10 2:41 
GeneralRe: Multi-Page TIFF support Pin
Luc Pattyn29-Apr-10 3:03
sitebuilderLuc Pattyn29-Apr-10 3:03 
GeneralRe: Multi-Page TIFF support Pin
Jordy "Kaiwa" Ruiter29-Apr-10 3:24
Jordy "Kaiwa" Ruiter29-Apr-10 3:24 
GeneralRe: Multi-Page TIFF support Pin
Luc Pattyn29-Apr-10 3:32
sitebuilderLuc Pattyn29-Apr-10 3:32 
GeneralRe: Multi-Page TIFF support Pin
Jordy "Kaiwa" Ruiter29-Apr-10 3:39
Jordy "Kaiwa" Ruiter29-Apr-10 3:39 
GeneralRe: Multi-Page TIFF support Pin
Luc Pattyn29-Apr-10 3:51
sitebuilderLuc Pattyn29-Apr-10 3:51 
QuestionIs it Possible to download a pdf file from a web page without showing the URL of pdf file in address bar Pin
Puneet Bhatnagar28-Apr-10 22:49
Puneet Bhatnagar28-Apr-10 22:49 
AnswerRe: Is it Possible to download a pdf file from a web page without showing the URL of pdf file in address bar Pin
Gaurav Dudeja India28-Apr-10 22:57
Gaurav Dudeja India28-Apr-10 22:57 
GeneralRe: Is it Possible to download a pdf file from a web page without showing the URL of pdf file in address bar Pin
Matt Meyer29-Apr-10 6:12
Matt Meyer29-Apr-10 6:12 
AnswerRe: Is it Possible to download a pdf file from a web page without showing the URL of pdf file in address bar [modified] Pin
Covean29-Apr-10 0:18
Covean29-Apr-10 0:18 
AnswerRe: Is it Possible to download a pdf file from a web page without showing the URL of pdf file in address bar Pin
AspDotNetDev29-Apr-10 10:42
protectorAspDotNetDev29-Apr-10 10:42 
GeneralRe: Is it Possible to download a pdf file from a web page without showing the URL of pdf file in address bar Pin
PunkIsNotDead29-Apr-10 17:18
PunkIsNotDead29-Apr-10 17:18 
GeneralRe: Is it Possible to download a pdf file from a web page without showing the URL of pdf file in address bar Pin
AspDotNetDev29-Apr-10 17:25
protectorAspDotNetDev29-Apr-10 17:25 
AnswerRe: Is it Possible to download a pdf file from a web page without showing the URL of pdf file in address bar Pin
PunkIsNotDead29-Apr-10 17:35
PunkIsNotDead29-Apr-10 17:35 
QuestionClearing an array of images Pin
Wamuti28-Apr-10 22:23
Wamuti28-Apr-10 22:23 
AnswerRe: Clearing an array of images Pin
Mycroft Holmes28-Apr-10 23:37
professionalMycroft Holmes28-Apr-10 23:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.