From 535728b982f2131d21172f39b1c56731ff2aa8b8 Mon Sep 17 00:00:00 2001 From: John Jenko Date: Tue, 18 Feb 2025 15:39:55 -0500 Subject: [PATCH] C2025-014 The zoom setting on step level bookmarks in generated PDFs will now jump to the page containing the step (like it does when a section bookmark is selected) instead of zooming in on the step. --- PROMS/Volian.Print.Library/vlnParagraph.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/PROMS/Volian.Print.Library/vlnParagraph.cs b/PROMS/Volian.Print.Library/vlnParagraph.cs index 381a3c95..73b089b4 100644 --- a/PROMS/Volian.Print.Library/vlnParagraph.cs +++ b/PROMS/Volian.Print.Library/vlnParagraph.cs @@ -647,8 +647,10 @@ namespace Volian.Print.Library } if (MyItemInfo.IsHigh) { + // C2025-014 change the zoom setting on the bookmark of a step from FITBH to FITV so that instead of zooming in + // on the step it will zoom to the page level ( like it does when you select a bookmark on a section. MyPageHelper.PageBookmarks.Add(MyItemInfo, (MyItemInfo.MyTab == null) ? "" : MyItemInfo.MyTab.CleanText + " " + MyItemInfo.DisplayText, - new PdfDestination(PdfDestination.FITBH, yLocation + YVeryTop - YTopMost + SixLinesPerInch)); + new PdfDestination(PdfDestination.FITV, yLocation + YVeryTop - YTopMost + SixLinesPerInch)); } } if (MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.WolfcreekCKLFormat)