MarkupDoc
NameSpace: StarMicronics.CloudPrnt.Documents
Syntax
public class MarkupDoc : ICpDocument
Constructors
MarkupDoc(Stream)
Declaration
public MarkupDoc(Stream input)
Parameters
Type |
Name |
Description |
---|---|---|
System.IO.Stream |
input |
Stream object which the data will be loaded from. |
MarkupDoc(String)
Declaration
public MarkupDoc(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 |
---|---|
Settings to be used when performing Job format conversion. |
NativeFormat
Declaration
public string NativeFormat { get; }
Property Value
Type |
Description |
---|---|
System.String |
will always return “text/vnd.star.markup” for MarkupDoc objects. |
OutputFormats
Declaration
public string[] OutputFormats { get; }
Property Value
Type |
Description |
---|---|
System.String[] |
A list of supported output formats, in IANA/MIME media type format |
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 MarkupDoc object, as listed by the OutputFormats property. |
System.IO.Stream |
stream |
stream that the output data will be written to. |