Show pageOld revisionsBacklinksAdd to bookBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== CanLoad ====== Method of [[:scripting:api:file-handler:start|IFileHandler]] ===== Description ===== Called to check, if given file can be loaded by handler ===== Parameters ===== * [[scripting:api:data-type:BSTR|BSTR]] **strFileName** * [[scripting:api:data-type:BSTR|BSTR]] **strDocumentType** = %%""%% (optional) ==== Return Value ==== * [[scripting:api:data-type:long|long]] **pnConfidence** ===== Syntax ===== ==== JavaScript ==== <code javascript> var pnConfidence = FileHandler.CanLoad(strFileName, strDocumentType); </code>==== Visual Basic Script ==== <code vb> pnConfidence = FileHandler.CanLoad strFileName, strDocumentType </code>==== C++ ==== <code cpp> long nConfidence; HRESULT hr = FileHandler.CanLoad(strFileName, strDocumentType, &nConfidence); </code>===== See Also ===== [[:scripting:api:file-handler:start|IFileHandler]] ~~NOTOC~~