Skip to content

PDF settings Landscape property seems to work like it was named Portrait #4447

Answered by amaitland
adellieux asked this question in Q&A
Discussion options

You must be logged in to vote

The Landscape property seems to work like it was named Portrait.

CefSharp does little more than pass the values to the underlying CEF method. So I suspect this is a problem in CEF

nativeSettings.landscape = settings->Landscape ? 1 : 0;

https://github.com/chromiumembedded/cef/blob/c83b3cda24e2960141dc13e1f089edb93c939add/include/internal/cef_types.h#L2505

If the problem reproduces in the current supported version then it's probably worth stepping through with the debugger to confirm the correct value is being passed through. On the surface it looks like an upstream issue in CEF.

Note …

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by adellieux
Comment options

You must be logged in to vote
2 replies
@amaitland
Comment options

@adellieux
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants