PdfDocument pdfDoc = new PdfDocument(); PdfDocument document = PdfDocument.FromFile(inputfile); foreach (PdfPage pdfPage in document.Pages) { float crtPdfPageWidth = pdfPage.Size.Width/2; float crtPdfPageHeight = pdfPage.Size.Height; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)