Removed commented code.
Corrected Bottom Margin calc associated with DSS_PrintSectOnFirst Corrected DrawRuler to support DSS_PrintSectOnFirst
This commit is contained in:
1 parent
efc5ed84c4
commit
1dd61e449d
3 files changed
+11
-3
No files matched your search
@@ -759,7 +759,8 @@ namespace Volian.Print.Library
|
||||
if ((MyItemInfo.MyActiveSection.MyDocStyle.StructureStyle.Style & E_DocStructStyle.DSS_PrintSectOnFirst) == E_DocStructStyle.DSS_PrintSectOnFirst)
|
||||
{
|
||||
yTopMargin = _PointsPerPage - (float)MyItemInfo.MyActiveSection.MyDocStyle.Layout.TopMargin + MyPageHelper.PrintedSectionPage;
|
||||
yBottomMargin = Math.Max(0, yTopMargin - (float)MyItemInfo.MyActiveSection.MyDocStyle.Layout.PageLength);
|
||||
MyPageHelper.YTopMargin = yTopMargin;
|
||||
yBottomMargin = Math.Max(0, _PointsPerPage - (float)MyItemInfo.MyActiveSection.MyDocStyle.Layout.TopMargin - (float)MyItemInfo.MyActiveSection.MyDocStyle.Layout.PageLength);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user