I have been playing with FPPDF and have it working OK, but have not been able to figure out how to set the page to a custom size. I can see that I need to set the PaperType to ptCustom, but can't see how to set the height and width for it. Thought I could set the Paper Height and Width, but the argument cant be assigned values. I am obviously missing something.
pdfPage.Paper.H := 1000; <=== Argument cannot be assigned to
pdfPage.Paper.W := 1000; <=== Argument cannot be assigned to
pdfPage.PaperType := ptCustom;
Am hoping this is not a dumb question! It has been some years since I have done any coding, and that used to be in Delphi and Windows. Am now messing with Lazarus/FP on MacOS.
Any help appreciated.