示例#1
0
        protected Page LayoutWithPageWidth(Unit pageWidth)
        {
            NameElements(elements);

            lines = LiningLayouter.Layout(elements, pageWidth).ToList();
            page = ElementsLayouter.Layout(lines.AsLines());
            return page;
        }
示例#2
0
文件: Page.cs 项目: asgerhallas/DomFx
 public Page OverlayWith(Page page, Unit offsetLeft, Unit offsetTop)
 {
     return new Page(Elements.Concat(page.Move(offsetLeft, offsetTop).Elements));
 }