Hi masters
I am having trouble using the command
XlWrkBk.ExportAsFixedFormat(XlFixedFormatType.xlTypePDF,PDFFileName,XlFixedFormatQuality.xlQualityStandard,true,true,1,1,false,Pointer);
According to
http://msdn.microsoft.com/en-us/library/microsoft.office.tools.excel.workbook.exportasfixedformat.aspx the pointer is
FixedFormatExtClassPtrType: Object
A pointer to an implementation of the IMsoDocExporter interface that enables the workbook to be saved in a different fixed format. For more information, see Extending the Office (2007) Fixed-Format Export Feature.
I need to set this pointer to be able to compile. In all examples I can find this property is ignored. Has anyone used this or can help me in selecting the correct dotnet object to use as a pointer ?
________________________________
Gunnar Gestsson
Microsoft Certified IT Professional
Dynamics NAV MVP
http://www.dynamics.ishttp://Objects4NAV.com
Comments
http://www.dynamics.is/?p=1468
\:D/
Gunnar Gestsson
Microsoft Certified IT Professional
Dynamics NAV MVP
http://www.dynamics.is
http://Objects4NAV.com
The answer to your question is described in this post: http://makecreatereiterate.com/workbook ... namics-ax/
You need to create the following objects:
Hope that helps!