PrintCreateAttr class | QSYS API Reference Guide

Estimated reading time: 2 minutes

Represents the attributes for creating a print file.

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

Inheritance: Object –> Hashtable

Remarks

This class encapsulates the properties and methods required to create a print file. It includes properties such as the file name, the user data, and the device attributes.



Constructors

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

PrintCreateAttr()

Initializes a new instance of the class.

PrintCreateAttr()

Properties

Type Name Description
Boolean CheckFormatLevels Gets or sets a value indicating whether format levels should be checked.
PrintDevAttr DevAttr Gets or sets the device attributes.
String DocumentName Gets or sets the name of the document.
Boolean ProcessMacros Gets or sets a value indicating whether macros should be processed.
Boolean Prompt Gets or sets a value indicating whether a prompt should be displayed.
Int32 WaitForFile Gets or sets the time to wait for the file to be created, in milliseconds.

Methods

Signature Description
ReadXml(XmlReader) Generates an object from its XML representation.
TryGetValue(String, Object&) Gets the value associated with the specified key.
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.

bool TryGetValue(string key, Object& value)

Gets the value associated with the specified key.

bool TryGetValue(string key, Object& value)

Parameters

Type Parameter name Description
String key The key of the value to get.
Object& value When this method returns, contains the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter.

Returns

Type Description
Boolean true if the PrintCreateAttr contains an element with the specified key; otherwise, false.

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.