Click or drag to resize

PrinterAttributes Class

返回用户文档首页
打印机属性类,包含控制打印输出的各项属性。
Inheritance Hierarchy
SystemObject
  LoongCAD.STC.Friendly.DrawingGenericAttributesBase
    LoongCAD.STC.Friendly.DrawingPrinterAttributes

Namespace: LoongCAD.STC.Friendly.Drawing
Assembly: LoongCAD.STC.Friendly (in LoongCAD.STC.Friendly.dll) Version: 2026.0.9.25 (2026.0.9.25)
Syntax
C#
public sealed class PrinterAttributes : GenericAttributesBase

The PrinterAttributes type exposes the following members.

Constructors
 NameDescription
Public methodPrinterAttributes 创建一个新的 PrinterAttributes 实例。
Top
Properties
 NameDescription
Public propertyColorMode 输出颜色模式。
Public propertyNumberOfCopies 每张图纸的打印份数。仅对打印到打印机有效。
Public propertyOpenFileWhenFinished 打印完成后是否自动打开文件。
Public propertyOrientation 打印方向类型。
Public propertyOutputFileName 输出文件名,仅适用于 PDF 打印。
Public propertyOutputFolder 输出文件目录,仅适用于 PDF 打印。
Public propertyOutputType 打印输出类型。
Public propertyPaperSize 纸张大小。
Public propertyPrinterName 打印机名称。
Public propertyScaleFactor 打印缩放系数。
Public propertyScalingMethod 打印缩放方式。
Public propertySeparatingCount 分页数量。
Public propertySeparatingOrder 分页顺序。
Public propertySeparatingType 分页打印类型。
Top
Methods
 NameDescription
Public methodIsEqual 将当前对象与同类型的对象进行比较。
(Overrides GenericAttributesBaseIsEqual(Object))
Top
See Also