Well, it's a lot more code than that 🙂
Having not done anything in that area, I have
no sound examples, but I think there's been
some code posted here in the past relating to
layouts and plot configs.
Have you tried searching this newsgroup?
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006/2007
http://www.acadxtabs.com
wrote in message news:5539105@discussion.autodesk.com...
What is .NET equivalent to the following code, Anybody?
Dim Lo As AcadLayout
Set Lo = ThisDrawing.Layouts.Add("Test")
Dim s1 As String
s1 = "ANSI_B_(11.00_x_17.00_Inches)"
ThisDrawing.ActiveLayout = Lo
Lo.ConfigName = "None"
Lo.CanonicalMediaName = s1
ThisDrawing.Regen acActiveViewport