PrintingProps class | QSYS API Reference Guide
Estimated reading time: 2 minutes
Represents the application settings for printing properties. This class is auto-generated and changes may be overwritten.
Namespace: ASNA.DataGate.Client.Properties Assembly: ASNA.QSys.DataGate.Client.dll
Inheritance: Object –> SettingsBase –> ApplicationSettingsBase
Properties
Type | Name | Description |
---|---|---|
PrintingProps | Default | Gets the default instance of the PrintingProps class. |
String | Renderer | Gets the Renderer setting from the application settings. |
Boolean | RenderInProc | Gets the RenderInProc setting from the application settings. |
Methods
Signature | Description |
---|---|
GetRendererPath() | Retrieves the Renderer path from the application settings. |
IsRendererPathMissing() | Checks if the Renderer path is missing in the application settings. |
SetRendererPath(String, Configuration) | Sets the Renderer path in the specified configuration. |
SetRendererPathInMachineConfig(String) | Sets the Renderer path in the machine configuration. |
string GetRendererPath()
Retrieves the Renderer path from the application settings.
Remarks
This method retrieves the ‘Renderer’ property value from the application settings.If the property value is null or using its default value, the method returns the default Renderer path.
string GetRendererPath()
bool IsRendererPathMissing()
Checks if the Renderer path is missing in the application settings.
Remarks
This method checks the ‘Renderer’ property value in the application settings.If the property value is null, using its default value, or equal to the default value, the method returns true.Otherwise, it returns false.
bool IsRendererPathMissing()
void SetRendererPath(string path, Configuration config)
Sets the Renderer path in the specified configuration.
Remarks
This method sets the ‘Renderer’ property value in the specified configuration.It retrieves the ‘appSettings’ section from the configuration, and then sets the new Renderer path.
void SetRendererPath(string path, Configuration config)
Parameters
Type | Parameter name | Description |
---|---|---|
String | path | The new Renderer path. |
Configuration | config | The configuration in which to set the Renderer path. |
void SetRendererPathInMachineConfig(string path)
Sets the Renderer path in the machine configuration.
Remarks
This method sets the ‘Renderer’ property value in the machine configuration.It opens the machine configuration, and then calls the SetRendererPath method to set the new Renderer path.
void SetRendererPathInMachineConfig(string path)
Parameters
Type | Parameter name | Description |
---|---|---|
String | path | The new Renderer path. |