本文整理匯總了C#中iTextSharp.text.pdf.PdfStamperImp類的典型用法代碼示例。如果您正苦於以下問題:C# PdfStamperImp類的具體用法?C# PdfStamperImp怎麽用?C# PdfStamperImp使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
PdfStamperImp類屬於iTextSharp.text.pdf命名空間,在下文中一共展示了PdfStamperImp類的5個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。
示例1: PageStamp
internal PageStamp(PdfStamperImp stamper, PdfReader reader, PdfDictionary pageN) {
this.pageN = pageN;
pageResources = new PageResources();
PdfDictionary resources = pageN.GetAsDict(PdfName.RESOURCES);
pageResources.SetOriginalResources(resources, stamper.namePtr);
}
示例2: StampContent
/** Creates a new instance of StampContent */
internal StampContent(PdfStamperImp stamper, PdfStamperImp.PageStamp ps)
: base(stamper)
{
this.ps = ps;
pageResources = ps.pageResources;
}
示例3: XmlSignatureAppearance
/**
* Constructs XmlSignatureAppearance object.
* @param writer the writer to which the signature will be written.
*/
internal XmlSignatureAppearance(PdfStamperImp writer) {
this.writer = writer;
}
示例4: MergeResources
internal static void MergeResources(PdfDictionary result, PdfDictionary source, PdfStamperImp writer) {
PdfDictionary dic = null;
PdfDictionary res = null;
PdfName target = null;
for (int k = 0; k < mergeTarget.Length; ++k) {
target = mergeTarget[k];
PdfDictionary pdfDict = source.GetAsDict(target);
if ((dic = pdfDict) != null) {
if ((res = (PdfDictionary)PdfReader.GetPdfObject(result.Get(target), result)) == null) {
res = new PdfDictionary();
}
res.MergeDifferent(dic);
result.Put(target, res);
if (writer != null)
writer.MarkUsed(res);
}
}
}
示例5: PdfSignatureAppearance
/**
* Constructs a PdfSignatureAppearance object.
* @param writer the writer to which the signature will be written.
*/
public PdfSignatureAppearance(PdfStamperImp writer) {
this.writer = writer;
signDate = DateTime.Now;
fieldName = GetNewSigName();
signatureCreator = Version.GetInstance().GetVersion;
}