Exemplo n.º 1
0
 internal BasePageSnippet(ISnippetModel model, string view, Margins margins, SnippetAlignment snippetAlignment)
 {
     Model            = model;
     View             = view;
     Margins          = margins;
     SnippetAlignment = snippetAlignment;
 }
Exemplo n.º 2
0
 public Header(ISnippetModel model, string view, float height, float leftMargin, float rightMargin, float topMargin)
     : base(model, view, new Margins(new Rectangle(PageSize.A4.Width, height), leftMargin, rightMargin, topMargin, 0), SnippetAlignment.Top)
 {
 }
Exemplo n.º 3
0
 public Footer(ISnippetModel model, string view, float height, float leftMargin, float rightMargin, float bottomMargin)
     : base(model, view, new Margins(new Rectangle(PageSize.A4.Width, height), leftMargin, rightMargin, 0, bottomMargin), SnippetAlignment.Bottom)
 {
 }