Added methods to get/set document zoom.
This commit is contained in:
parent
ab6eab8b69
commit
4dc6ea49de
@ -795,6 +795,10 @@ namespace LBWordLibrary
|
|||||||
get { return (LBWdRevisionsView)GetProperty("RevisionsView"); }
|
get { return (LBWdRevisionsView)GetProperty("RevisionsView"); }
|
||||||
set { SetProperty("RevisionsView", value); }
|
set { SetProperty("RevisionsView", value); }
|
||||||
}
|
}
|
||||||
|
public LBZoom Zoom
|
||||||
|
{
|
||||||
|
get { return new LBZoom(GetProperty("Zoom")); }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
public enum LBWdColorIndex
|
public enum LBWdColorIndex
|
||||||
{
|
{
|
||||||
@ -1292,4 +1296,26 @@ namespace LBWordLibrary
|
|||||||
public LBPictureFormat() { }
|
public LBPictureFormat() { }
|
||||||
public LBPictureFormat(Object item) : base(item) { }
|
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
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user