示例#1
0
 public PdfAutoBox(PdfXY upper_left, PdfGrow grow_direction, PdfAlign v_align, PdfArea area, PdfArea max_area = null, PdfBorder borders = null, PdfBoxLayout box_layout = null)
     : base(borders, box_layout)
 {
     UpperLeft     = upper_left;
     GrowDirection = grow_direction;
     VAlign        = v_align;
     Area          = area;
     MaxArea       = max_area ?? new PdfArea(max_box_size, max_box_size);
 }
示例#2
0
 public PdfAutoBox(PdfXY upper_left, PdfGrow grow_direction, PdfArea area = null, PdfArea max_area = null, PdfBorder borders = null, PdfBoxLayout box_layout = null)
     : this(upper_left, grow_direction, PdfAlign.Far, area ?? new PdfArea(0, 0), max_area, borders, box_layout)
 {
 }