Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ReportPage"/> class with default settings.
 /// </summary>
 public ReportPage()
 {
     paperWidth   = 210;
     paperHeight  = 297;
     leftMargin   = 10;
     topMargin    = 10;
     rightMargin  = 10;
     bottomMargin = 10;
     InitPreview();
     bands                = new BandCollection(this);
     guides               = new FloatCollection();
     columns              = new PageColumns(this);
     border               = new Border();
     fill                 = new SolidFill(SystemColors.Window);
     watermark            = new Watermark();
     titleBeforeHeader    = true;
     startPageEvent       = "";
     finishPageEvent      = "";
     manualBuildEvent     = "";
     BaseName             = "Page";
     unlimitedHeight      = false;
     printOnRollPaper     = false;
     unlimitedWidth       = false;
     unlimitedHeightValue = MAX_PAPER_SIZE_MM * Units.Millimeters;
     unlimitedWidthValue  = MAX_PAPER_SIZE_MM * Units.Millimeters;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DataBand"/> class.
 /// </summary>
 public DataBand()
 {
     bands          = new BandCollection(this);
     sort           = new SortCollection();
     filter         = "";
     columns        = new BandColumns(this);
     idColumn       = "";
     parentIdColumn = "";
     indent         = 37.8f;
     rowCount       = 1;
     SetFlags(Flags.HasSmartTag, true);
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DataBand"/> class.
 /// </summary>
 public DataBand()
 {
     FBands          = new BandCollection(this);
     FSort           = new SortCollection();
     FFilter         = "";
     FColumns        = new BandColumns(this);
     FIdColumn       = "";
     FParentIdColumn = "";
     FIndent         = 37.8f;
     FRowCount       = 1;
     SetFlags(Flags.HasSmartTag, true);
 }
Пример #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ReportPage"/> class with default settings.
 /// </summary>
 public ReportPage()
 {
     FPaperWidth        = 210;
     FPaperHeight       = 297;
     FLeftMargin        = 10;
     FTopMargin         = 10;
     FRightMargin       = 10;
     FBottomMargin      = 10;
     FFirstPageSource   = 7;
     FOtherPagesSource  = 7;
     FDuplex            = Duplex.Default;
     FBands             = new BandCollection(this);
     FGuides            = new FloatCollection();
     FColumns           = new PageColumns(this);
     FBorder            = new Border();
     FFill              = new SolidFill(SystemColors.Window);
     FWatermark         = new Watermark();
     FTitleBeforeHeader = true;
     FStartPageEvent    = "";
     FFinishPageEvent   = "";
     FManualBuildEvent  = "";
     BaseName           = "Page";
 }