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
The enum DMPAPER has no entry for DMPAPER_USER which would have a value of 256.
DMPAPER
DMPAPER_USER
The Microsoft documentation mentions it here (search for "DMPAPER_USER"): https://docs.microsoft.com/en-us/windows/win32/api/wingdi/ns-wingdi-devmodea
Therefore I am unable to set devmode.dmPaperSize to DMPAPER_USER.
devmode.dmPaperSize
This doesn't work because the enum doesn't contain this value:
DEVMODE devmode = default; devmode.dmFields |= DMFIELDS.DM_PAPERSIZE | DMFIELDS.DM_PAPERLENGTH | DMFIELDS.DM_PAPERWIDTH; devmode.dmPaperSize = (DMPAPER) 256; devmode.dmPaperLength = 1000; devmode.dmPaperWidth = 1000;
The text was updated successfully, but these errors were encountered:
Added DMPAPER_USER to DMPAPER enum (#106)
dfcb9e4
I've added it. Thanks.
Sorry, something went wrong.
No branches or pull requests
The enum
DMPAPER
has no entry forDMPAPER_USER
which would have a value of 256.The Microsoft documentation mentions it here (search for "DMPAPER_USER"):
https://docs.microsoft.com/en-us/windows/win32/api/wingdi/ns-wingdi-devmodea
Therefore I am unable to set
devmode.dmPaperSize
toDMPAPER_USER
.This doesn't work because the enum doesn't contain this value:
The text was updated successfully, but these errors were encountered: