Click or drag to resize

IAssetCurrentVersionStorageSize Method


Retrieves the storage size of the asset file for current version of the context asset.

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
Syntax
double CurrentVersionStorageSize()

Return Value

Double
Size of the current version of the asset file, in KB.
Example
Example of checking the current version storage size in custom hook:
C#
if(contentItem.CurrentVersionStorageSize() > 1000){
    //Additional Actions
}
See Also