UploadProgress Class |
Represents the progress for a file upload operation.
SystemObject
Tekla.Structures.Model.Internal.BimModelDataProduct.TypesUploadProgress
Tekla.Structures.Model.Internal.BimModelDataProduct.TypesUploadProgress
Namespace: Tekla.Structures.Model.Internal.BimModelDataProduct.Types
Assembly: Tekla.Structures.Model (in Tekla.Structures.Model.dll) Version: 2026.0.0-alpha00057080+93cd22c410a086ecc356b7088d4daaf2e12907eb
The UploadProgress type exposes the following members.
| Name | Description | |
|---|---|---|
| UploadProgress |
Initializes a new instance of the UploadProgress class with known total size.
|
| Name | Description | |
|---|---|---|
| PercentComplete |
Gets the upload progress as a percentage (0-100). If total is unknown, returns null.
If null, it indicates we can't determine the completed percentage as we don't know the total size.
UI should handle this case appropriately (e.g don't show percentage of completion but bytes upload).
| |
| TotalBytes |
Gets the total number of bytes to upload, 0 if total is unknown.
| |
| UploadedBytes |
Gets the number of bytes uploaded so far.
|