We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
My standard Windows printer is orientated in Landscape. But if I get the paper size from it, it's orientated as Portrait.
PDF := TPDFDocumentGDI.Create(False, CP_UTF8, False); PDF.DefaultPaperSize := CurrentPrinterPaperSize(); PageWidth := Trunc(Integer(PDF.DefaultPageWidth) * GetDeviceCaps(Canvas.Handle, LOGPIXELSX) / 72); PageHeight := Trunc(Integer(PDF.DefaultPageHeight) * GetDeviceCaps(Canvas.Handle, LOGPIXELSY) / 72);
Is this my mistake or is it a bug in SynPDF?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
My standard Windows printer is orientated in Landscape. But if I get the paper size from it, it's orientated as Portrait.
Is this my mistake or is it a bug in SynPDF?
The text was updated successfully, but these errors were encountered: