From cc60d4ff46ddc3f98fce942eba637eb74494407b Mon Sep 17 00:00:00 2001 From: Kathy Date: Thu, 24 Oct 2013 16:21:12 +0000 Subject: [PATCH] fixed xy plot that was exported as a black box (background was black rather than transparent). --- PROMS/LBWordLibrary/LBComObject.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/PROMS/LBWordLibrary/LBComObject.cs b/PROMS/LBWordLibrary/LBComObject.cs index 25cb6442..a8a585a3 100644 --- a/PROMS/LBWordLibrary/LBComObject.cs +++ b/PROMS/LBWordLibrary/LBComObject.cs @@ -339,7 +339,9 @@ namespace LBWordLibrary } public void ExportAsFixedFormat(string OutputFileName, LBWdExportFormat ExportFormat) { - InvokeMethod("ExportAsFixedFormat", OutputFileName, ExportFormat, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, true, Missing.Value);// Embed Fonts into PDF + // iso 19005-1 compliant (PDF/A) should be set to false. setting it to true causes the background + // for x/y plots to be set to black rather than transparent. (2nd to last parameter (field is: UseISO19005_1) in next line) + InvokeMethod("ExportAsFixedFormat", OutputFileName, ExportFormat, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, false, Missing.Value); } public void ExportAsFixedFormat(string OutputFileName, LBWdExportFormat ExportFormat, Boolean OpenAfterExport, LBWdExportOptimizeFor OptimizeFor, LBWdExportRange Range, int From, int To, LBWdExportItem Item, Boolean IncludeDocProps, Boolean KeepIRM, LBWdExportCreateBookmarks CreateBookmarks, Boolean DocStructureTags, Boolean BitmapMissingFonts, Boolean UseISO19005_1, object FixedFormatExtClassPtr) {