Skip to content

Orientation is not working with PdfSharp and Migra-Doc 6.2.4 version #329

@anjan-cele

Description

@anjan-cele

The document is getting created in Portrait mode only even we have these line of codes

var coverPageSection = coverPageMigraDoc.AddSection();

if (coverPageSection.Document?.DefaultPageSetup != null)
{
coverPageSection.PageSetup = coverPageSection.Document.DefaultPageSetup.Clone();
}
else
{
coverPageSection.PageSetup = new PageSetup();
}

coverPageSection.PageSetup.Orientation = Orientation.Landscape;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions