The Size property gets the size of the Resource, in bytes.
This property is read-only.
Syntax
Size = Resource.Size
Property value
Read-only number of bytes.
Examples
The following JScript example uses Size to read the total number of bytes in a Resource.
// Get a Resource object and read its total size in bytes.
var stream = wpdObject.Resource;
var totalSizeInBytes = stream.Size;
Requirements
| Minimum supported client |
Windows 7 [desktop apps only] |
| Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |