diff --git a/PROMS/Volian.Print.Library/PromsPrinter.cs b/PROMS/Volian.Print.Library/PromsPrinter.cs index f18338f3..93d6586d 100644 --- a/PROMS/Volian.Print.Library/PromsPrinter.cs +++ b/PROMS/Volian.Print.Library/PromsPrinter.cs @@ -1234,8 +1234,11 @@ namespace Volian.Print.Library bool didFoldout = false; if (((mySection.MyDocStyle.StructureStyle.Style ?? 0) & E_DocStructStyle.UseSectionFoldout) != 0) { + // B2022-009: if doing a foldout & this is a landscape section, turn landscape off for the foldout + if (mySection.MyDocStyle.LandscapePageList) _MyHelper.IsLandscape = false; didFoldout = true; DoFoldoutPage(cb, "Word Document", _TextLayer, _MyHelper, 0, false); + if (mySection.MyDocStyle.LandscapePageList) _MyHelper.IsLandscape = true; // B2022-009: turn landscape back on for the foldout } if (this.MyReaderHelper != null) {