本文整理汇总了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;未经允许,请勿转载。 |
请发表评论