Click or drag to resize

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
)

Parameters

stream
Type: System.IOStream
The stream containing data to write.
mimeType
Type: SystemString
The mime type of the data.

Return Value

Type: CesiumResource
A new CesiumResource containing the data as a data URI.
See Also