Resolution element
The optional Resolution element specifies the print resolution for the job.
Resolution is defined in the namespace at this URI: https://schemas.microsoft.com/windows/2005/05/wdp/print and referenced by the prefix wprt. (This resource may not be available in some languages and countries.)
Usage
<wprt:Resolution>
child elements
</wprt:Resolution>
Attributes
There are no attributes.
Text value
None
Child elements
Element | Description |
---|---|
Specifies the vertical resolution at which the job will be printed. |
|
Specifies the horizontal resolution at which the job will be printed. |
Parent elements
Element | Description |
---|---|
Contains the requested processing attributes that are applicable at the document level. |
Remarks
Resolution describes a Width x Height pair that defines the print resolution for a job. It is specified in pixels per inch.
If Height is missing, the WSD Print Service should assume a square resolution. For example, if only a Width element of 100 is provided, assume the resolution is 100x100 pixels per square inch.
The following syntax block shows that you must also prefix the names of the child elements with the appropriate namespace (in this case wprt), to be certain that your name references apply to child elements in the correct namespace.
<wprt:Resolution>
<wprt:Width> data </wprt:Width>
<wprt:Height> data </wprt:Height>
</wprt:Resolution>
See also
Send comments about this topic to Microsoft
Build date: 7/19/2012