Skip to content

Orientation.Landscape does not work anymore #313

@Sicos1977

Description

@Sicos1977

In a previous version I could set the pdf page to landscape like this

section.PageSetup.Orientation = Orientation.Landscape;

And that was it...

In the latest version it only works when I also swap the widht and the height like this

(section.PageSetup.PageWidth, section.PageSetup.PageHeight) = (section.PageSetup.PageHeight, section.PageSetup.PageWidth);

Is this by design or is this a unsupported feature?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Cannot Reproducehttps://xkcd.com/583/forumPlease use Discussions or the Support forum to ask Support questions - https://forum.pdfsharp.net/support

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions