Click here to Skip to main content
15,893,337 members
Home / Discussions / C#
   

C#

 
GeneralRe: Microsoft ObjectSpaces Pin
Colin Angus Mackay11-Jul-04 22:36
Colin Angus Mackay11-Jul-04 22:36 
GeneralHelp. Exporting to Excel Workbook using ASP.NET,C# Pin
frdharish11-Jul-04 17:17
frdharish11-Jul-04 17:17 
GeneralLength of proportional width string Pin
SnuhEyeless11-Jul-04 16:19
SnuhEyeless11-Jul-04 16:19 
GeneralRe: Length of proportional width string Pin
Jay Shankar11-Jul-04 16:56
Jay Shankar11-Jul-04 16:56 
GeneralRe: Length of proportional width string Pin
exhaulted12-Jul-04 3:26
exhaulted12-Jul-04 3:26 
GeneralRe: Length of proportional width string Pin
SnuhEyeless15-Jul-04 12:34
SnuhEyeless15-Jul-04 12:34 
GeneralOLE Containers Pin
LZ-AT-WORK11-Jul-04 14:29
LZ-AT-WORK11-Jul-04 14:29 
GeneralPrinting Controls with Page Margins Pin
myNameIsRon11-Jul-04 13:51
myNameIsRon11-Jul-04 13:51 
Hi,
I'm printing Form Controls (buttons,labels, textboxes and such).
I'm trying to set the left margin for the printing page, but it's not working.
The code to change to landscape works OK though... what's up?

private void menuPrint_Click(object sender, System.EventArgs e)
{
this.printDocument1.DefaultPageSettings.Margins.Left = 200;
this.printDocument1.DefaultPageSettings.Landscape = true;
this.printDocument1.Print();
}


thanks,
Ron


GeneralRe: Printing Controls with Page Margins Pin
exhaulted12-Jul-04 3:41
exhaulted12-Jul-04 3:41 
GeneralRe: Printing Controls with Page Margins Pin
myNameIsRon13-Jul-04 13:21
myNameIsRon13-Jul-04 13:21 
GeneralRe: Printing Controls with Page Margins Pin
exhaulted13-Jul-04 22:57
exhaulted13-Jul-04 22:57 
Generalmemory Pin
ahmed mohamed abdelhameed11-Jul-04 12:51
ahmed mohamed abdelhameed11-Jul-04 12:51 
GeneralCAS Questions Pin
J. Dunlap11-Jul-04 12:43
J. Dunlap11-Jul-04 12:43 
GeneralKilling Off Spam with C# Pin
LZ-AT-WORK11-Jul-04 11:21
LZ-AT-WORK11-Jul-04 11:21 
QuestionSetting User Permissions? Pin
wakkerjack11-Jul-04 10:41
wakkerjack11-Jul-04 10:41 
AnswerRe: Setting User Permissions? Pin
LongRange.Shooter12-Jul-04 5:36
LongRange.Shooter12-Jul-04 5:36 
GeneralRe: Setting User Permissions? Pin
wakkerjack20-Jul-04 0:49
wakkerjack20-Jul-04 0:49 
GeneralRe: Setting User Permissions? Pin
LongRange.Shooter20-Jul-04 2:50
LongRange.Shooter20-Jul-04 2:50 
GeneralUsing Model Dialog in C# Pin
ilmian11-Jul-04 10:25
ilmian11-Jul-04 10:25 
GeneralRe: Using Model Dialog in C# Pin
DougW4811-Jul-04 12:52
DougW4811-Jul-04 12:52 
GeneralImage Measurements Pin
Rais Hafidz11-Jul-04 9:41
Rais Hafidz11-Jul-04 9:41 
GeneralRe: Image Measurements Pin
Christian Graus11-Jul-04 11:45
protectorChristian Graus11-Jul-04 11:45 
GeneralRe: Image Measurements Pin
Rais Hafidz11-Jul-04 14:12
Rais Hafidz11-Jul-04 14:12 
GeneralRe: Image Measurements Pin
Christian Graus11-Jul-04 14:15
protectorChristian Graus11-Jul-04 14:15 
GeneralRe: Image Measurements Pin
Rais Hafidz11-Jul-04 15:09
Rais Hafidz11-Jul-04 15:09 

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.