AddDirectTemplateSimple() private method

private AddDirectTemplateSimple ( PdfTemplate template, PdfName forcedName ) : PdfName
template PdfTemplate
forcedName PdfName
return PdfName
Beispiel #1
0
 internal static PdfAppearance CreateAppearance(PdfWriter writer, float width, float height, PdfName forcedName)
 {
     PdfAppearance template = new PdfAppearance(writer);
     template.Width = width;
     template.Height = height;
     writer.AddDirectTemplateSimple(template, forcedName);
     return template;
 }