hirin
  • hirin
  • Newbie Topic Starter
2015-06-01T04:45:42Z
Hi Admin,

Im Using your product especially for IGrid and iGPrintManager,

My Question is, how to set section below programmatically with iGPrintManager in Preview Print?

  • Header Text

  • Margin

  • Paper Orirentation : Landscape


I can't find that in iGrid example.


note:
sorry for bad english.


Thanks for your help
Igor/10Tec
2015-06-02T15:56:11Z
Here are some examples from the manual:

iGPrintManager1.DocumentHeader.MiddleSection.Text = "Annual Sales Report";
iGPrintManager1.DocumentHeader.MiddleSection.Font = new Font("Arial", 18f);

iGPrintManager1.Document.DefaultPageSettings.Margins = new System.Drawing.Printing.Margins(100, 100, 50, 50);
iGPrintManager1.Document.DefaultPageSettings.Landscape = true;

Attached are two screenshots that will help you to find a more detailed description of these techniques in the manual.

See also this KB post on this forum:

PrintManager: setup page settings programmatically 
Igor/10Tec attached the following image(s):
hirin
  • hirin
  • Newbie Topic Starter
2015-06-12T10:26:53Z
Thanks very much Igor,

it's very help me..


Hirin