This commit is contained in:
parent
deb80c7496
commit
545c4268a6
@ -299,6 +299,10 @@ namespace Volian.Print.Library
|
|||||||
}
|
}
|
||||||
private string PrintProcedureOrFoldout(ProcedureInfo myProcedure, bool doingFoldout, string outputFileName)
|
private string PrintProcedureOrFoldout(ProcedureInfo myProcedure, bool doingFoldout, string outputFileName)
|
||||||
{
|
{
|
||||||
|
// The following line accounts for 16bit OverrideLeftMargin when the 'Absolute' attribute is used in the genmac.
|
||||||
|
// We don't want to use the OverrideLeftMargin when 'Absolute' is used in the genmac.
|
||||||
|
// It's set here because the Volian.Svg.Library cannot call back to Volian.Print.Library to get this value.
|
||||||
|
Svg.Library.Svg.AbsoluteOffset = new PointF(2 * 72F / (float)myProcedure.ActiveFormat.PlantFormat.FormatData.Font.CPI, -9.5F);
|
||||||
// Create an MSWord Pdf
|
// Create an MSWord Pdf
|
||||||
// Setup a pdf Document for printing
|
// Setup a pdf Document for printing
|
||||||
OnStatusChanged("Before OpenDoc", PromsPrinterStatusType.Before);
|
OnStatusChanged("Before OpenDoc", PromsPrinterStatusType.Before);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user