Click here to Skip to main content
15,891,033 members
Home / Discussions / C#
   

C#

 
GeneralRe: Checking the fail status of windows service Pin
dan!sh 19-Mar-09 8:12
professional dan!sh 19-Mar-09 8:12 
QuestionGeneric Change Event handler Pin
dwolver19-Mar-09 5:16
dwolver19-Mar-09 5:16 
AnswerRe: Generic Change Event handler Pin
DaveyM6919-Mar-09 5:40
professionalDaveyM6919-Mar-09 5:40 
GeneralRe: Generic Change Event handler Pin
dwolver19-Mar-09 6:02
dwolver19-Mar-09 6:02 
GeneralRe: Generic Change Event handler Pin
DaveyM6919-Mar-09 6:17
professionalDaveyM6919-Mar-09 6:17 
GeneralRe: Generic Change Event handler Pin
S. Senthil Kumar20-Mar-09 4:00
S. Senthil Kumar20-Mar-09 4:00 
AnswerRe: Generic Change Event handler Pin
dwolver19-Mar-09 6:17
dwolver19-Mar-09 6:17 
QuestionPrint multipage tiff images Pin
Deabdy2119-Mar-09 4:58
Deabdy2119-Mar-09 4:58 
I want to print a multipage tiff image. I want first to get a print preview but when I want to get more pages to the printdocument I only get the last page of the image.

Can anyone help me to solve this problem?

code:

Image image = Image.FromFile(@strBestandsPad);
AfbeeldingFormaat abf = new AfbeeldingFormaat();
Point puntPagina = new Point(0, 0);
int intPaginas = image.GetFrameCount(FrameDimension.Page);
int i = 0;
if (intPaginas > 1)
{
while(i < intPaginas)
{
e.HasMorePages = true;
Rectangle rec = new Rectangle(0, 0, 763, 1084);
image.SelectActiveFrame(FrameDimension.Page, i);
Image newImage = image;
newImage = abf.FixedSize(nieuwImage, 763, 1084); // set image to A4 page size
e.Graphics.DrawImage(nieuwImage, rec);
i++;
}
}
else
{
e.HasMorePages = false;
}


thanks,
GeneralRe: Print multipage tiff images Pin
Qwerty190621-Apr-10 3:21
Qwerty190621-Apr-10 3:21 
AnswerRe: Print multipage tiff images Pin
Deabdy2121-Apr-10 3:38
Deabdy2121-Apr-10 3:38 
GeneralRe: Print multipage tiff images Pin
reaperx905-Jul-11 3:57
reaperx905-Jul-11 3:57 
QuestionSave WebCam Capture with a resulution of 2MP Pin
nukebold19-Mar-09 4:55
nukebold19-Mar-09 4:55 
AnswerRe: Safe WebCam Capture with a resulution of 2MP Pin
musefan19-Mar-09 4:57
musefan19-Mar-09 4:57 
AnswerRe: Save WebCam Capture with a resulution of 2MP Pin
Dave Kreskowiak19-Mar-09 8:26
mveDave Kreskowiak19-Mar-09 8:26 
GeneralRe: Save WebCam Capture with a resulution of 2MP Pin
nukebold19-Mar-09 8:45
nukebold19-Mar-09 8:45 
GeneralRe: Save WebCam Capture with a resulution of 2MP Pin
Dave Kreskowiak19-Mar-09 11:01
mveDave Kreskowiak19-Mar-09 11:01 
Questionconvert class to dll Pin
sanforjackass19-Mar-09 4:42
sanforjackass19-Mar-09 4:42 
AnswerRe: convert class to dll Pin
DaveyM6919-Mar-09 4:44
professionalDaveyM6919-Mar-09 4:44 
GeneralRe: convert class to dll Pin
sanforjackass19-Mar-09 5:39
sanforjackass19-Mar-09 5:39 
AnswerRe: convert class to dll Pin
musefan19-Mar-09 4:44
musefan19-Mar-09 4:44 
AnswerRe: convert class to dll Pin
Cracked-Down19-Mar-09 5:29
Cracked-Down19-Mar-09 5:29 
QuestionSend an email witch c# Pin
abbd19-Mar-09 4:32
abbd19-Mar-09 4:32 
AnswerRe: Send an email witch c# Pin
Xmen Real 19-Mar-09 4:35
professional Xmen Real 19-Mar-09 4:35 
AnswerRe: Send an email witch c# Pin
Jacob Dixon19-Mar-09 4:36
Jacob Dixon19-Mar-09 4:36 
AnswerRe: Send an email witch c# Pin
musefan19-Mar-09 4:37
musefan19-Mar-09 4: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.