CesiumResourceFromStream Method (Stream, String) |
Create a CZML resource from a stream. The data will
be embedded in the CZML document using a data URI.
Namespace:
AGI.Foundation.Cesium
Assembly:
AGI.Foundation.Cesium (in AGI.Foundation.Cesium.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public static CesiumResource FromStream(
Stream stream,
string mimeType
)
Public Shared Function FromStream (
stream As Stream,
mimeType As String
) As CesiumResource
public:
static CesiumResource^ FromStream(
Stream^ stream,
String^ mimeType
)
static member FromStream :
stream : Stream *
mimeType : string -> CesiumResource
Parameters
- stream
- Type: System.IOStream
The stream containing data to write. - mimeType
- Type: SystemString
The mime type of the data.
Return Value
Type:
CesiumResourceA new
CesiumResource containing the data as a data URI.
See Also