i using c# activex
but this parameter "Object LayoutList" i can't using,
who can Help me
Sub Ch9_PrintPaperSpace() ' 建立输出用的图纸空间布局
Dim strLayouts(0 To 1) As String
Dim varLayouts As Variant
strLayouts(0) = "Layout1"
strLayouts(1) = "Layout2"
varLayouts = strLayouts
ThisDrawing.Plot.NumberOfCopies = 1
i find this VBA codes,but i can't translate it to c#
thans very much!
Plotting using the .NET ObjectARX wrappers is a bit different. The basic method you need to use is to create a PlotInfo object (which will contain your layouts to plot), validate the PlotInfo object, and then go through the plotting procedure by calling the appropriate methods in PlotEngine. The number of copies, for example, is set in the BeginDocument method I believe. For additional help, refer to the ObjectARX developers guide documentation under "Plot API".