Is there a C# equivalent to the `PrintDescriptionRef` class found in the C(++) API?I'm trying to convert the PrintDesc.cpp print example found in the SDK :
// Create a print description instance. PrintDescriptionPtr printDescPtr = PrintDescriptionRef::Create(); IPrintDescriptionP printDesc = printDescPtr->GetP(); // Initialize the print description to use the PDF printer driver // configuration and the active session. if (SUCCESS != printDesc->InitializeFromTCB (L"pdf.pltcfg")) ....
But am unable to create a PrintDescription because no such class is found, having referenced the following DLL's:- Bentley.PrintAPI- Bentley.PrintEngine- Bentley.PrinterConfigurationEditor- Bentley.PrintFoundation- Bentley.PrintHandlers- Bentley.PrintManager- Bentley.PrintOrganizerI've looked through MSTNPlatform.NET.chm and DgnPlatformNet.chm to see if there were any similarly named classes, but came up short, finding only IPrintDefinition related pages.I am trying to create an mdl addin that runs one of our standard pltcfg's in the middle of some other processes without requiring user input.Is there one such class in C#, or is there a different named class that can do this?