11-10-2024, 07:54 PM
(11-10-2024, 04:25 PM)Zubersoft Wrote: I don't know word documents have a predefined page size that can be obtained, or if I will have to give the user a way to pick their preferred page size. A global setting would be my preference if the word document doesn't have a page size defined.
Mike
My thought is that the feature was a nice to have (so I am not asking you to spend time on it for me). If it is producing A4 for everyone as it stands, which I guess it must be, then that doesn't seem right as I am sure that will be an issue for your American users at some point. Your workarounds are either to:
1) use a setting as a workaround (seeing as IronPDF doesn't seem to want to use the Word setting), quick and dirty
2) do a load of work to try and surface a document property from Word, remembering that we can always print PDFs and import them anyway so it is not a showstopper.
3) report to IronPDF support as an omission. I can see that, as they are developing IronPDF from a different perspective, thinking about a target page size rather than respecting the source page size might make sense, but they ought to have a setting in that structure for "Use document size". It should be a relatively trivial fix for them as they already have access to the document properties, and it is easy to add a "Document source" to that size parameter.