C# AutoCad 打印PDF如何布满打印纸

请问布满打印的勾勾对应的是哪个?
打印出来的图纸始终没有布满

img

                        AcadDocument doc = new AcadDocument();
                        doc.ActiveLayout.PlotType = AcPlotType.acWindow;
                        doc.ActiveLayout.ScaleLineweights = true;
                        doc.ActiveLayout.ShowPlotStyles = true;
                        doc.ActiveLayout.StandardScale = AcPlotScale.acScaleToFit; //标准比例,需要UseStandardScale = true;
                        doc.ActiveLayout.UseStandardScale = true; // 使用标准比例
                        doc.ActiveLayout.CenterPlot = true; // 居中
                        doc.ActiveLayout.PaperUnits = AcPlotPaperUnits.acMillimeters; //单位毫米
                        doc.ActiveLayout.PlotWithLineweights = true; //线宽比例
                        doc.ActiveLayout.PlotWithPlotStyles = true; //使用样式



![img](https://img-mid.csdnimg.cn/release/static/image/mid/ask/928148710936110.png "#left")

打印范围你要选窗口,不能选显示
否则显示什么就打印什么,你显示区域空白多当然铺不满了
此外要选择页边距