Click here to Skip to main content
15,896,544 members
Home / Discussions / C#
   

C#

 
GeneralRe: PivotTable and DataSet Pin
hxxbin22-Apr-04 4:47
hxxbin22-Apr-04 4:47 
GeneralRe: PivotTable and DataSet Pin
Heath Stewart22-Apr-04 4:56
protectorHeath Stewart22-Apr-04 4:56 
GeneralI need an example of application.. Pin
benqazou21-Apr-04 8:12
benqazou21-Apr-04 8:12 
GeneralRe: I need an example of application.. Pin
Heath Stewart21-Apr-04 8:42
protectorHeath Stewart21-Apr-04 8:42 
GeneralRe: I need an example of application.. Pin
Andrew McCarter21-Apr-04 8:50
Andrew McCarter21-Apr-04 8:50 
Questionhow do i change the papersize to legal Pin
cmarmr21-Apr-04 8:07
cmarmr21-Apr-04 8:07 
AnswerRe: how do i change the papersize to legal Pin
Heath Stewart21-Apr-04 8:41
protectorHeath Stewart21-Apr-04 8:41 
GeneralRe: how do i change the papersize to legal Pin
cmarmr21-Apr-04 9:49
cmarmr21-Apr-04 9:49 
ok here is my code listing but it dose not print on legal paper is sayes manual feed plain letter on my printer

public void printpages()
{
pages=cnt;

pd.PrintPage += new inting.PrintPageEventHandler .printDocument1_PrintPage);
pd.DocumentName = "Imaging";


pd.DefaultPageSettings.PaperSize = new PaperSize("Legal", 8500, 14000);
if (pd.PrinterSettings.IsValid)
{
pd.Print();
}

private void printDocument1_PrintPage(object sender,System.Drawing.Printing.PrintPageEventArgs e)
{
System.IO.FileStream fs ; //create a filestream to open the image
fs= new FileStream("c:\\temp\\test.tiff",System.IO.FileMode.Open,System.IO.FileAccess.Read);
Image newImage = Image.FromStream(fs);
Rectangle destRect = new Rectangle( 1, 1,1000,1000);
e.Graphics.DrawImage(newImage, destRect);
fs.Close();
}

chad
GeneralRe: how do i change the papersize to legal Pin
Heath Stewart21-Apr-04 10:06
protectorHeath Stewart21-Apr-04 10:06 
GeneralData Display question. Pin
Michael P Butler21-Apr-04 7:30
Michael P Butler21-Apr-04 7:30 
GeneralRe: Data Display question. Pin
Heath Stewart21-Apr-04 8:37
protectorHeath Stewart21-Apr-04 8:37 
GeneralRe: Data Display question. Pin
Michael P Butler21-Apr-04 9:55
Michael P Butler21-Apr-04 9:55 
GeneralRe: Data Display question. Pin
Heath Stewart21-Apr-04 10:04
protectorHeath Stewart21-Apr-04 10:04 
GeneralRe: Data Display question. Pin
Michael P Butler21-Apr-04 10:21
Michael P Butler21-Apr-04 10:21 
Questionany ideas on this security problem?? Pin
LongRange.Shooter21-Apr-04 7:29
LongRange.Shooter21-Apr-04 7:29 
GeneralSimulation of VB6 Style Default properties Pin
Fakher Halim21-Apr-04 6:25
Fakher Halim21-Apr-04 6:25 
GeneralRe: Simulation of VB6 Style Default properties Pin
Heath Stewart21-Apr-04 6:59
protectorHeath Stewart21-Apr-04 6:59 
GeneralRe: Simulation of VB6 Style Default properties Pin
Fakher Halim21-Apr-04 7:26
Fakher Halim21-Apr-04 7:26 
GeneralRe: Simulation of VB6 Style Default properties Pin
Heath Stewart21-Apr-04 8:29
protectorHeath Stewart21-Apr-04 8:29 
GeneralRe: Simulation of VB6 Style Default properties Pin
scadaguy21-Apr-04 10:16
scadaguy21-Apr-04 10:16 
GeneralRe: Simulation of VB6 Style Default properties Pin
Daniel Turini21-Apr-04 7:32
Daniel Turini21-Apr-04 7:32 
GeneralRe: Simulation of VB6 Style Default properties Pin
Fakher Halim21-Apr-04 8:34
Fakher Halim21-Apr-04 8:34 
GeneralCorrection Pin
Jeff Varszegi21-Apr-04 9:48
professionalJeff Varszegi21-Apr-04 9:48 
GeneralRe: Correction Pin
Fakher Halim21-Apr-04 9:56
Fakher Halim21-Apr-04 9:56 
GeneralRe: Correction Pin
Jeff Varszegi21-Apr-04 11:00
professionalJeff Varszegi21-Apr-04 11:00 

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.