Esempio n. 1
0
 public void GetPageMargins(ref double left, ref double top, ref double right, ref double bottom, QPrinter.Unit unit)
 {
     StackItem[] stack = new StackItem[6];
     stack[1].s_double = left;
     stack[2].s_double = top;
     stack[3].s_double = right;
     stack[4].s_double = bottom;
     stack[5].s_int    = (int)unit;
     interceptor.Invoke("getPageMargins$$$$$", "getPageMargins(qreal*, qreal*, qreal*, qreal*, QPrinter::Unit) const", stack);
     left   = stack[1].s_double;
     top    = stack[2].s_double;
     right  = stack[3].s_double;
     bottom = stack[4].s_double;
     return;
 }
Esempio n. 2
0
 public void SetPageMargins(double left, double top, double right, double bottom, QPrinter.Unit unit)
 {
     interceptor.Invoke("setPageMargins$$$$$", "setPageMargins(qreal, qreal, qreal, qreal, QPrinter::Unit)", typeof(void), typeof(double), left, typeof(double), top, typeof(double), right, typeof(double), bottom, typeof(QPrinter.Unit), unit);
 }
Esempio n. 3
0
 public QSizeF PaperSize(QPrinter.Unit unit)
 {
     return((QSizeF)interceptor.Invoke("paperSize$", "paperSize(QPrinter::Unit) const", typeof(QSizeF), typeof(QPrinter.Unit), unit));
 }
Esempio n. 4
0
 public QRectF PageRect(QPrinter.Unit arg1)
 {
     return((QRectF)interceptor.Invoke("pageRect$", "pageRect(QPrinter::Unit) const", typeof(QRectF), typeof(QPrinter.Unit), arg1));
 }
Esempio n. 5
0
 public void SetPaperSize(QSizeF paperSize, QPrinter.Unit unit)
 {
     interceptor.Invoke("setPaperSize#$", "setPaperSize(const QSizeF&, QPrinter::Unit)", typeof(void), typeof(QSizeF), paperSize, typeof(QPrinter.Unit), unit);
 }