Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
765
ISectionPage size to match A4
posted

Hi

I want to create a PDF with pages that match A4 and contain images.
How do I know what size to set the ISectionPage Width / Height  in order for it to match A4.

Thanks.

Parents
  • 37774
    Verified Answer
    posted

    There is a PageSize property on the section that you could use, i.e.:

    Report report = new Report();
    ISection section = report.AddSection();
    section.PageSize = PageSizes.A4;

    -Matt

Reply Children
No Data