Class StreamAsset
This class encapsulates an input stream and the media type of IAsset.
Inheritance
System.Object
StreamAsset
Namespace: Adobe.PDFServicesSDK.io
Assembly: Adobe.PDFServicesSDK.Doc.dll
Syntax
public class StreamAsset
Constructors
StreamAsset(Stream, String)
Constructs an instance of StreamAsset.
Declaration
public StreamAsset(Stream stream, string mimeType)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | Stream of the asset; cannot be null. |
System.String | mimeType | MIME type of the stream; cannot be null or empty. |
Properties
MimeType
The mime type of the input stream.
Declaration
public string MimeType { get; }
Property Value
Type | Description |
---|---|
System.String |
Stream
The input stream for the job.
Declaration
public Stream Stream { get; }
Property Value
Type | Description |
---|---|
System.IO.Stream |