TextDoc
NameSpace: StarMicronics.CloudPrnt.Documents
Syntax
public class TextDoc : ICpDocument
Constructors
TextDoc(Stream)
Declaration
public TextDoc(Stream input)
Parameters
Type |
Name |
Description |
---|---|---|
System.IO.Stream |
input |
Stream object which the data will be loaded from. |
TextDoc(String)
Declaration
public TextDoc(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 outStream)
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 TextDoc object, as listed by the OutputFormats property. |
System.IO.Stream |
stream |
stream that the output data will be written to. |