The choice of paper size depends on the plotter or device configured for output. Each plotter or device has a standard list of available output sizes. The output size for a layout is assigned can be quired with the CanonicalMediaName property.
图纸尺寸的选择取决于用于输出的打印机或设备配置。每种不同打印机具有一个可用输出尺寸的标准列表。可以用于指定给布局的输出尺寸可以使用 CanonicalMediaName 特性查询到。
You can also query the units for a layout using the PlotPaperUnits property. This property returns one of three values defined by the PlotPaperUnit enum: Inches, Millimeters, or Pixels. If your plotter is configured for raster output, the output size is returned in pixels.
也可以使用 PlotPaperUnits 特性来查询布局的单位。此特性可以采用 PlotPaperUnit 枚举值定义的以下三个值之一:Inches, Millimeters, 或 Pixels。如果配置打印机进行光栅输出,则必须按像素指定输出尺寸。