Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
Maxim-CADman77
277 Views, 1 Reply

TypeS of file Size

I need to know how many different types of file size porerty are available through theAPI.

There are two ("Size" and "Size on disk") in UI (on general Tab of iProperty).

One of them is available with this iLogic code:

 

Dim myFile As New FileInfo(ThisDoc.PathAndFileName(True))
sizeInBytes = myFile.Length

 

But it returns error if executed on usaved file.

 

I wonder if it possible to get the size of RAM the usaved file consumes at the moment?

Please vote for Inventor-Idea Text Search within Option Names