Example #1
0
        internal override void Format(Area area, FormatInfo previousFormatInfo)
        {
            PageBreakRenderInfo pbRenderInfo = new PageBreakRenderInfo();
            pbRenderInfo.FormatInfo = new PageBreakFormatInfo();
            _renderInfo = pbRenderInfo;

            pbRenderInfo.LayoutInfo.PageBreakBefore = true;
            pbRenderInfo.LayoutInfo.ContentArea = new Rectangle(area.Y, area.Y, 0, 0);
            pbRenderInfo.DocumentObject = _pageBreak;
        }
Example #2
0
        internal override void Format(Area area, FormatInfo previousFormatInfo)
        {
            PageBreakRenderInfo pbRenderInfo = new PageBreakRenderInfo();

            pbRenderInfo.FormatInfo = new PageBreakFormatInfo();
            _renderInfo             = pbRenderInfo;

            pbRenderInfo.LayoutInfo.PageBreakBefore = true;
            pbRenderInfo.LayoutInfo.ContentArea     = new Rectangle(area.Y, area.Y, 0, 0);
            pbRenderInfo.DocumentObject             = _pageBreak;
        }