PrintDevAttr class | QSYS API Reference Guide

Estimated reading time: 2 minutes

Compatibility class for dgPrintDeviceAttr structure.

Namespace: ASNA.DataGate.Providers Assembly: ASNA.QSys.DataGate.Client.dll

Inheritance: Object –> Hashtable

Thread Safety

Any public static (Shared) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Constructors

Name Description
PrintDevAttr() Initializes a new instance of the class.

PrintDevAttr()

Initializes a new instance of the class.

PrintDevAttr()

Properties

Type Name Description
Boolean Collate Gets or sets a value indicating whether collation should be used when printing multiple copies.
Boolean Color Gets or sets the color of the printout.
Int32 Copies Gets or sets the number of copies to print.
PaperSourceKind DefaultSource Gets or sets the default source of the printout.
Duplex Duplex Gets or sets a value indicating whether duplex printing is enabled.
String FormName Gets or sets the name of the form to be used for the printout.
Int32 LeftMargin Gets or sets the left margin of the printout.
Int32 Length Gets or sets the length of the printout.
PaperOrientation Orientation Gets or sets the orientation of the printout.
String PrinterName Gets or sets the name of the printer.
PrinterResolutionKind Quality Gets or sets the quality of the printout.
Int32 Scale Gets or sets the scale of the printout.
PaperKind Size Gets or sets the size of the printout.
Int32 TopMargin Gets or sets the top margin of the printout.
PrintTrueType TTOption Gets or sets the TrueType font option for the printout.
Int32 Width Gets or sets the width of the printout.
Int32 YResolution Gets or sets the vertical resolution of the printout.

Methods

Signature Description
ReadXml(XmlReader) Generates an object from its XML representation.
WriteXml(XmlWriter) Converts the current instance into an XML string.

void ReadXml(XmlReader reader)

Generates an object from its XML representation.

void ReadXml(XmlReader reader)

Parameters

Type Parameter name Description
XmlReader reader The XmlReader stream from which the object is deserialized.

void WriteXml(XmlWriter writer)

Converts the current instance into an XML string.

void WriteXml(XmlWriter writer)

Parameters

Type Parameter name Description
XmlWriter writer The XmlWriter stream to which the object is serialized.