I'm trying to create the layout and set the printing options for it.
Problem is, that whenever i try to use the PlotSettingsValidator.SetPlotConfigurationName, it throws the exception eInvalidInput
I'm sure, that the name of pc3 is right and the paper size name too.
This exception is also thrown when using PlotSettingsValidator.SetPlotCentered
I use the sample code from http://docs.autodesk.com/ACD/2011/ENU/filesMDG/WS73099cc142f48755-385a98b012180d20f19425f.htm
Solved! Go to Solution.
i found out, that the custom formats have different names
i used PlotSettingsValidator.GetCanonicalMediaNameList and got strange names, but i managed to translate them using PlotSettingsValidator.GetLocaleMediaName
and the problem with SetPlotCentered was because the PlotSettings.PlotType was set to Layout