iTextSharp.text.pdf.ColumnText.Duplicate C# (CSharp) Метод

Duplicate() публичный статический Метод

public static Duplicate ( ColumnText org ) : ColumnText
org ColumnText
Результат ColumnText
    public static ColumnText Duplicate(ColumnText org) {
        ColumnText ct = new ColumnText(null);
        ct.SetACopy(org);
        return ct;
    }
    

Usage Example

Пример #1
0
 /** Constructs a deep copy of a <CODE>PdfPCell</CODE>.
  * @param cell the <CODE>PdfPCell</CODE> to duplicate
  */
 public PdfPCell(PdfPCell cell) : base(cell.llx, cell.lly, cell.urx, cell.ury)
 {
     CloneNonPositionParameters(cell);
     verticalAlignment = cell.verticalAlignment;
     paddingLeft       = cell.paddingLeft;
     paddingRight      = cell.paddingRight;
     paddingTop        = cell.paddingTop;
     paddingBottom     = cell.paddingBottom;
     phrase            = cell.phrase;
     fixedHeight       = cell.fixedHeight;
     minimumHeight     = cell.minimumHeight;
     noWrap            = cell.noWrap;
     colspan           = cell.colspan;
     rowspan           = cell.rowspan;
     if (cell.table != null)
     {
         table = new PdfPTable(cell.table);
     }
     image            = Image.GetInstance(cell.image);
     cellEvent        = cell.cellEvent;
     useDescender     = cell.useDescender;
     column           = ColumnText.Duplicate(cell.column);
     useBorderPadding = cell.useBorderPadding;
     rotation         = cell.rotation;
     id   = cell.id;
     role = cell.role;
     if (cell.accessibleAttributes != null)
     {
         accessibleAttributes = new Dictionary <PdfName, PdfObject>(cell.accessibleAttributes);
     }
     headers = cell.headers;
 }
All Usage Examples Of iTextSharp.text.pdf.ColumnText::Duplicate