ICpDocument
Represents a printable document, which can be finally output in one or more data formats.
NameSpace: StarMicronics.CloudPrnt
Syntax
public interface ICpDocument
Properties
JobConversionOptions
Declaration
ConversionOptions JobConversionOptions { get; set; }
Property Value
Type |
Description |
---|---|
Conversion parameters which may affect the result when an ICpDocument object performs conversion from its input document data to a requested output. |
NativeFormat
Declaration
string NativeFormat { get; }
Property Value
Type |
Description |
---|---|
System.String |
The native format that was used to create the document, as an internet IANA/MIME format |
OutputFormats
Declaration
string[] OutputFormats { get; }
Property Value
Type |
Description |
---|---|
System.String[] |
A list if IANA/MIME media type formats that an ICpDocument can convert it’s source document to. |
Methods
convertTo(String, Stream)
Declaration
void convertTo(string requestFormat, Stream outStream)
Parameters
Type |
ame |
Description |
---|---|---|
System.String |
requestFormat |
A String specifying the requested media format. |
System.IO.Stream |
outStream |
Writeable Stream object that the converted data will be written to. |