當前位置: 首頁>>代碼示例>>C#>>正文


C# pdf.PdfStamperImp類代碼示例

本文整理匯總了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);
 }
開發者ID:yu0410aries,項目名稱:itextsharp,代碼行數:6,代碼來源:PdfStamperImp.cs

示例2: StampContent

 /** Creates a new instance of StampContent */
 internal StampContent(PdfStamperImp stamper, PdfStamperImp.PageStamp ps)
     : base(stamper)
 {
     this.ps = ps;
     pageResources = ps.pageResources;
 }
開發者ID:bmictech,項目名稱:iTextSharp,代碼行數:7,代碼來源:StampContent.cs

示例3: XmlSignatureAppearance

 /**
  * Constructs XmlSignatureAppearance object.
  * @param writer the writer to which the signature will be written.
  */
 internal XmlSignatureAppearance(PdfStamperImp writer) {
     this.writer = writer;
 }
開發者ID:jagruti23,項目名稱:itextsharp,代碼行數:7,代碼來源:XmlSignatureAppearance.cs

示例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);
         }
     }
 }
開發者ID:jagruti23,項目名稱:itextsharp,代碼行數:18,代碼來源:PdfFormField.cs

示例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;
 }
開發者ID:Niladri24dutta,項目名稱:itextsharp,代碼行數:10,代碼來源:PdfSignatureAppearance.cs


注:本文中的iTextSharp.text.pdf.PdfStamperImp類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。