Пример #1
0
 public Shading(PdfShading shading)
     : base(new PdfDictionary())
 {
     GetPdfObject().Put(PdfName.Type, PdfName.Pattern);
     GetPdfObject().Put(PdfName.PatternType, new PdfNumber(2));
     GetPdfObject().Put(PdfName.Shading, shading.GetPdfObject());
 }
Пример #2
0
 public virtual void SetShading(PdfShading shading)
 {
     GetPdfObject().Put(PdfName.Shading, shading.GetPdfObject());
     SetModified();
 }