This commit is contained in:
parent
a8a3453c84
commit
4e668096d3
@ -24,6 +24,7 @@ namespace Volian.Print.Library
|
|||||||
}
|
}
|
||||||
public override float ToPdf(PdfContentByte cb, float yPageStart, float yTopMargin, float yBottomMargin)
|
public override float ToPdf(PdfContentByte cb, float yPageStart, float yTopMargin, float yBottomMargin)
|
||||||
{
|
{
|
||||||
|
cb.SaveState();
|
||||||
MyContentByte = cb;
|
MyContentByte = cb;
|
||||||
float yLocation = CalculateYOffset(yPageStart, yTopMargin);
|
float yLocation = CalculateYOffset(yPageStart, yTopMargin);
|
||||||
// Adjust the starting point for the Macro if the LPI is 7
|
// Adjust the starting point for the Macro if the LPI is 7
|
||||||
@ -41,6 +42,7 @@ namespace Volian.Print.Library
|
|||||||
}
|
}
|
||||||
PrintOverride.SvgColor = push;
|
PrintOverride.SvgColor = push;
|
||||||
if (textLayer != null) cb.EndLayer();
|
if (textLayer != null) cb.EndLayer();
|
||||||
|
cb.RestoreState();
|
||||||
return yPageStart;
|
return yPageStart;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user