This commit is contained in:
2011-06-16 10:25:28 +00:00
parent 4a7586d94a
commit 161bb92059
2 changed files with 63 additions and 7 deletions

View File

@@ -269,7 +269,7 @@ namespace LBWordLibrary
float retval = (float)myPages.Count - 1;
LBRange myRange = Range();
myRange = myRange.GoTo(LBWdGoToItem.wdGoToPercent, LBWdGoToDirection.wdGoToLast, 100);
float partial = (float) myRange.get_Information(LBWdInformation.wdVerticalPositionRelativeToPage);
float partial = (float) myRange.get_Information(LBWdInformation.wdVerticalPositionRelativeToTextBoundary);
partial += myRange.Font.Size;
retval += partial / 7200;
return retval;