Esempio n. 1
0
 public GaugePanel(AspNetCore.ReportingServices.OnDemandReportRendering.GaugePanel source, PageContext pageContext)
     : base(source)
 {
     AspNetCore.ReportingServices.OnDemandReportRendering.GaugePanel gaugePanel = (AspNetCore.ReportingServices.OnDemandReportRendering.GaugePanel)base.m_source;
     base.m_pageBreakProperties = PageBreakProperties.Create(gaugePanel.PageBreak, this, pageContext);
     if (!pageContext.IgnorePageBreaks)
     {
         base.m_pageName = gaugePanel.Instance.PageName;
     }
     else if (pageContext.Common.DiagnosticsEnabled && gaugePanel.PageBreak.BreakLocation != 0)
     {
         pageContext.Common.TracePageBreakIgnored(this, pageContext.IgnorePageBreaksReason);
     }
 }
Esempio n. 2
0
        public Chart(AspNetCore.ReportingServices.OnDemandReportRendering.Chart source, PageContext pageContext)
            : base(source)
        {
            AspNetCore.ReportingServices.OnDemandReportRendering.Chart chart = (AspNetCore.ReportingServices.OnDemandReportRendering.Chart)base.m_source;
            ChartInstance chartInstance = (ChartInstance)base.m_source.Instance;

            base.m_pageBreakProperties = PageBreakProperties.Create(chart.PageBreak, this, pageContext);
            if (!pageContext.IgnorePageBreaks)
            {
                base.m_pageName = chartInstance.PageName;
            }
            else if (pageContext.Common.DiagnosticsEnabled && chart.PageBreak.BreakLocation != 0)
            {
                pageContext.Common.TracePageBreakIgnored(this, pageContext.IgnorePageBreaksReason);
            }
            this.m_dynamicWidth  = chartInstance.DynamicWidth.ToMillimeters();
            this.m_dynamicHeight = chartInstance.DynamicHeight.ToMillimeters();
        }