BytesPerLine element
The required BytesPerLine element specifies the number of bytes per scan line in the resultant image file.
Usage
<wscn:BytesPerLine>
text
</wscn:BytesPerLine>
Attributes
There are no attributes.
Text value
Required. An integer value from 0 through 2147483647.
Child elements
There are no child elements.
Parent elements
Element |
---|
MediaBackImageInfo |
MediaFrontImageInfo |
Remarks
The integer value that the WSD Scan Service returns is the total bytes that are required for both the data pixels and any padding that the scanner will add to each scan line.
The BytesPerLine element is valid only if the requested Format value is an uncompressed file format. If the file format indicates compression, the Scan Service must return a value of zero for BytesPerLine.