本文整理匯總了C#中iTextSharp.text.pdf.PdfPTable.GetFooter方法的典型用法代碼示例。如果您正苦於以下問題:C# PdfPTable.GetFooter方法的具體用法?C# PdfPTable.GetFooter怎麽用?C# PdfPTable.GetFooter使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類iTextSharp.text.pdf.PdfPTable
的用法示例。
在下文中一共展示了PdfPTable.GetFooter方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。
示例1: CopyFormat
/**
* Copies the format of the sourceTable without copying the content.
* @param sourceTable
* @since 2.1.6 private is now protected
*/
virtual protected internal void CopyFormat(PdfPTable sourceTable)
{
relativeWidths = new float[sourceTable.NumberOfColumns];
absoluteWidths = new float[sourceTable.NumberOfColumns];
System.Array.Copy(sourceTable.relativeWidths, 0, relativeWidths, 0, NumberOfColumns);
System.Array.Copy(sourceTable.absoluteWidths, 0, absoluteWidths, 0, NumberOfColumns);
totalWidth = sourceTable.totalWidth;
totalHeight = sourceTable.totalHeight;
currentColIdx = 0;
tableEvent = sourceTable.tableEvent;
runDirection = sourceTable.runDirection;
if (sourceTable.defaultCell is PdfPHeaderCell)
defaultCell = new PdfPHeaderCell((PdfPHeaderCell)sourceTable.defaultCell);
else
defaultCell = new PdfPCell(sourceTable.defaultCell);
currentRow = new PdfPCell[sourceTable.currentRow.Length];
isColspan = sourceTable.isColspan;
splitRows = sourceTable.splitRows;
spacingAfter = sourceTable.spacingAfter;
spacingBefore = sourceTable.spacingBefore;
headerRows = sourceTable.headerRows;
footerRows = sourceTable.footerRows;
lockedWidth = sourceTable.lockedWidth;
extendLastRow = sourceTable.extendLastRow;
headersInEvent = sourceTable.headersInEvent;
widthPercentage = sourceTable.widthPercentage;
splitLate = sourceTable.splitLate;
skipFirstHeader = sourceTable.skipFirstHeader;
skipLastFooter = sourceTable.skipLastFooter;
horizontalAlignment = sourceTable.horizontalAlignment;
keepTogether = sourceTable.keepTogether;
complete = sourceTable.complete;
loopCheck = sourceTable.loopCheck;
id = sourceTable.ID;
role = sourceTable.Role;
if (sourceTable.accessibleAttributes != null)
accessibleAttributes = new Dictionary<PdfName, PdfObject>(sourceTable.accessibleAttributes);
header = sourceTable.GetHeader();
body = sourceTable.GetBody();
footer = sourceTable.GetFooter();
}