4D v14.3BLOB PROPERTIES |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14.3
BLOB PROPERTIES
BLOB PROPERTIES
The BLOB PROPERTIES command returns information about the BLOB blob. The compressed parameter returns a value indicating if and how the BLOB is compressed. You can compare this value with the following constants, found in the BLOB theme:
Whatever the compression status of the BLOB, the expandedSize parameter returns the size of the BLOB when it is not compressed. The parameter currentSize returns the current size of the BLOB. If the BLOB is compressed, you will usually obtain currentSize less than expandedSize. If the BLOB is not compressed, you will always obtain currentSize equal to expandedSize. See examples for the commands COMPRESS BLOB and EXPAND BLOB. After a BLOB has been compressed, the following project method obtains the percentage of space saved by the compression: ` Space saved by compression project method After this method has been added to your application, you can use it this way: ` ... |
PROPERTIES
Product: 4D
HISTORY
Created: 4D v6 SEE ALSO TAGS blob compression, Compression ARTICLE USAGE
4D Language Reference ( 4D v14 R2) Inherited from : BLOB PROPERTIES ( 4D v11 SQL Release 6) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||