Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:Dt.Cells.Data.GcReportContext" /> class.
 /// </summary>
 /// <param name="report">The report.</param>
 /// <param name="dpi">The dpi.</param>
 public GcReportContext(GcReport report, int dpi)
 {
     this.upi        = 0x48;
     this.pages      = new List <List <GcPageBlock> >();
     this.pageRects  = new GcPageRectangles();
     this.measure    = new Utilities.MeasureUtility(UnitType.CentileInch, defaultFont);
     this.pageFooter = null;
     this.pageHeader = null;
     this.report     = report;
     this.dpi        = dpi;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:Dt.Cells.Data.GcReportContext" /> class.
 /// </summary>
 /// <param name="report">The report.</param>
 /// <param name="dpi">The dpi.</param>
 /// <param name="measure">The measurement.</param>
 public GcReportContext(GcReport report, int dpi, IMeasureable measure) : this(report, dpi)
 {
     this.measure = measure;
 }