OpenDesignFileForProgram seems not work for pdf printing. Can suggest how to do it if I want to export pdf without opening MicroStation UI?
Thank you for replying.
I know the print commands, do you have examples about how to use COM library for backend printing job and support attaching attachments during runtime?
I prefer to use c#.
I am using latest CE
MSCE SDK provides new published Printing API which let you print file without opening MS UI. Please read the SDK examples under the folder C:\Program Files\Bentley\MicroStationCONNECTSDK\examples\Printing. Although these examples are all written in C++, you can use their corresponding C# wrapper directly. Below is my seraching of Print* in help doc MstnPlatformNET.chm. FYI