Вот базовая структура кода:
Код: Выделить всё
public static MemoryStream DrawHeaderFooter(MemoryStream ms){
using (PdfDocument document = PdfReader.Open(ms, PdfDocumentOpenMode.Modify))
{
for(int pageNum=0;pageNum
Подробнее здесь: [url]https://stackoverflow.com/questions/78302473/how-can-i-shift-the-content-vertically-down-in-pdfsharp[/url]
Мобильная версия