Fixed issue of landscape sections set for continuous pagination
This commit is contained in:
parent
7c56a096ea
commit
ce45eab51c
@ -1190,10 +1190,13 @@ namespace Volian.Print.Library
|
|||||||
Rtf2Pdf.PdfDebug = true;
|
Rtf2Pdf.PdfDebug = true;
|
||||||
Rtf2Pdf.Offset = new PointF(0, 2.5F);
|
Rtf2Pdf.Offset = new PointF(0, 2.5F);
|
||||||
if (section.MyDocStyle.LandscapePageList)
|
if (section.MyDocStyle.LandscapePageList)
|
||||||
|
{
|
||||||
|
if ((section.MyConfig as SectionConfig).Section_Pagination == SectionConfig.SectionPagination.Separate)
|
||||||
{
|
{
|
||||||
System.Drawing.Drawing2D.Matrix myMatrix = new System.Drawing.Drawing2D.Matrix(0, 1, -1, 0, cb.PdfDocument.PageSize.Height, 0);
|
System.Drawing.Drawing2D.Matrix myMatrix = new System.Drawing.Drawing2D.Matrix(0, 1, -1, 0, cb.PdfDocument.PageSize.Height, 0);
|
||||||
cb.Transform(myMatrix);
|
cb.Transform(myMatrix);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
_MyHelper.IsLandscape = false;
|
_MyHelper.IsLandscape = false;
|
||||||
_MyHelper.ChangeBarDefinition = MyChangeBarDefinition;
|
_MyHelper.ChangeBarDefinition = MyChangeBarDefinition;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user