StreamGeometry class
Element geometry held in an in-memory stream.
public class StreamGeometry : ElementGeometry, IDisposable
Public Members
| name | description |
|---|---|
| Format { get; } | Gets the format of the underlying geometry. |
| RenderStyles { get; set; } | Gets or sets render styles associated with the geometry. |
| SizeInBytes { get; } | Gets the geometry data size in bytes. |
| Dispose() | Releases the stream held by this geometry. |
| GetStream() | Gets the geometry data as a memory stream with the position reset to the beginning. |
Protected Members
| name | description |
|---|---|
| virtual Dispose(…) | Releases the unmanaged resources used by the StreamGeometry and optionally releases the managed resources. |
| override Finalize() |
Remarks
The stream returned by GetStream is owned by this instance and released by Dispose. Do not dispose it separately.
See Also
- class ElementGeometry
- namespace Autodesk.DataExchange.DataModels