diff --git a/PROMS/LBWordLibrary/LBComObject.cs b/PROMS/LBWordLibrary/LBComObject.cs index 7f5729b5..d4822fcc 100644 --- a/PROMS/LBWordLibrary/LBComObject.cs +++ b/PROMS/LBWordLibrary/LBComObject.cs @@ -795,6 +795,10 @@ namespace LBWordLibrary get { return (LBWdRevisionsView)GetProperty("RevisionsView"); } set { SetProperty("RevisionsView", value); } } + public LBZoom Zoom + { + get { return new LBZoom(GetProperty("Zoom")); } + } } public enum LBWdColorIndex { @@ -1292,4 +1296,26 @@ namespace LBWordLibrary public LBPictureFormat() { } public LBPictureFormat(Object item) : base(item) { } } + public partial class LBZoom : LBComObject + { + public LBZoom() { } + public LBZoom(Object item) : base(item) { } + public LBWdPageFit PageFit + { + get { return (LBWdPageFit)GetProperty("PageFit"); } + set { SetProperty("PageFit", value); } + } + public int Percentage + { + get { return (GetProperty("Percentage") as int? ?? 0); } + set { SetProperty("Percentage", value); } + } + } + public enum LBWdPageFit + { + wdPageFitNone = 0, + wdPageFitFullPage = 1, + wdPageFitBestFit = 2, + wdPageFitTextFit = 3 + } }