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. ====== CanCreate ====== Method of [[:scripting:api:file-handler:start|IFileHandler]] ===== Description ===== Called to check, if given file can be created by handler ===== Parameters ===== * [[scripting:api:data-type:BSTR|BSTR]] **strDocumentType** = %%""%% (optional) ==== Return Value ==== * [[scripting:api:data-type:long|long]] **pnConfidence** ===== Syntax ===== ==== JavaScript ==== <code javascript> var pnConfidence = FileHandler.CanCreate(strDocumentType); </code>==== Visual Basic Script ==== <code vb> pnConfidence = FileHandler.CanCreate strDocumentType </code>==== C++ ==== <code cpp> long nConfidence; HRESULT hr = FileHandler.CanCreate(strDocumentType, &nConfidence); </code>===== See Also ===== [[:scripting:api:file-handler:start|IFileHandler]] ~~NOTOC~~