ImageDoc
NameSpace: StarMicronics.CloudPrnt.Documents
Syntax
public class ImageDoc : ICpDocument
Constructors
ImageDoc(Stream, String)
Declaration
public ImageDoc(Stream input, string mediaFormat)
Parameters
Type |
Name |
Description |
---|---|---|
System.IO.Stream |
input |
Stream object which the data will be loaded from. |
System.String |
mediaFormat |
Specify the input data type as an IANA/MIME format media type. |
ImageDoc(String)
Declaration
public ImageDoc(string fileName)
Parameters
Type |
Name |
Description |
---|---|---|
System.String |
fileName |
Name of the input source file. |
Properties
JobConversionOptions
Declaration
public ConversionOptions JobConversionOptions { get; set; }
Property Value
Type |
Description |
---|---|
NativeFormat
Declaration
public string NativeFormat { get; }
Property Value
Type |
Description |
---|---|
System.String |
OutputFormats
Declaration
public string[] OutputFormats { get; }
Property Value
Type |
Description |
---|---|
System.String[] |
Methods
convertTo(String, Stream)
Declaration
public void convertTo(string requestFormat, Stream stream)
Parameters
Type |
Name |
Description |
---|---|---|
System.String |
requestFormat |
Requires output format, specified as an IANA/MIME format media type. This must be a type that is supported for output by this particular ImageDoc object, as listed by the OutputFormats property. |
System.IO.Stream |
stream |
stream that the output data will be written to. |