Author Topic: Get names of all printer devices  (Read 747 times)

0 Members and 1 Guest are viewing this topic.

Offline korelpkoko

  • Newbie
  • *
  • Posts: 2
  • Karma: +1/-0
    • prefered language: VB
    • Prog expertise: Good
    • View Profile
Get names of all printer devices
« on: October 06, 2012, 05:29:47 PM »
Does anyone knows how can I get names (PlotConfigurationName) of all printer devices in drawing?

Offline korelpkoko

  • Newbie
  • *
  • Posts: 2
  • Karma: +1/-0
    • prefered language: VB
    • Prog expertise: Good
    • View Profile
Re: Get names of all printer devices
« Reply #1 on: October 06, 2012, 05:53:46 PM »
Found answer:

Code: [Select]
                          PlotSettingsValidator plotsetvdr = PlotSettingsValidator.Current;
                                   
                                    StringCollection m = new StringCollection();
                                    m = plotsetvdr.GetPlotDeviceList();