Documentation/FbFileInfo
classWORKERCLONEABLE

FbFileInfo

js/foo_uie_jsplitter.js:5428

Object returned by GetFileInfo

propertyWORKERreadonly

InfoCount

js/foo_uie_jsplitter.js:5449
InfoCount: number

Example

console.log(file_info.InfoCount); // 9
propertyWORKERreadonly

MetaCount

js/foo_uie_jsplitter.js:5435
MetaCount: number

Example

let handle = fb.GetFocusItem();
let file_info = handle.GetFileInfo();
if (file_info) {
    console.log(file_info.MetaCount); // 11
}
methodWORKER

InfoFind

js/foo_uie_jsplitter.js:5459
InfoFind(name)

Parameters

NameTypeDescription
namestring

Returns

number —

-1 if not found

methodWORKER

InfoName

js/foo_uie_jsplitter.js:5466
InfoName(idx)

Parameters

NameTypeDescription
idxnumber

Returns

string
methodWORKER

InfoValue

js/foo_uie_jsplitter.js:5473
InfoValue(idx)

Parameters

NameTypeDescription
idxnumber

Returns

string
methodWORKER

MetaFind

js/foo_uie_jsplitter.js:5480
MetaFind(name)

Parameters

NameTypeDescription
namestring

Returns

number —

-1 if not found

methodWORKER

MetaName

js/foo_uie_jsplitter.js:5487
MetaName(idx)

Note: the case of the tag name returned can be different depending on tag type, so using toLowerCase() or toUpperCase() on the result is recommended

Parameters

NameTypeDescription
idxnumber

Returns

string

Example

for (let i = 0; i < f.MetaCount; ++i) {
     console.log(file_info.MetaName(i).toUpperCase());
}
methodWORKER

MetaValue

js/foo_uie_jsplitter.js:5502
MetaValue(idx, value_idx)

Parameters

NameTypeDescription
idxnumber
value_idxnumber

Used for iterating through multi-value tags.

Returns

string
methodWORKER

MetaValueCount

js/foo_uie_jsplitter.js:5510
MetaValueCount(idx)

The number of values contained in a meta tag.

Parameters

NameTypeDescription
idxnumber

Returns

number