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. ====== IsValid ====== Property of [[:scripting:api:position:start|IPosition]] ===== Description ===== Check if document position is valid (line and position is bigger then 0) ===== Property type ===== Read-Only Property of type **[[scripting:api:data-type:VARIANT_BOOL|VARIANT_BOOL]]** ===== Syntax ===== ==== JavaScript ==== <code javascript> var bVal = Position.IsValid; </code>==== Visual Basic Script ==== <code vb> bVal = Position.IsValid </code>==== C++ ==== <code cpp> VARIANT_BOOL bVal; HRESULT hr = Position.get_IsValid(&bVal); </code>===== See Also ===== [[:scripting:api:position:start|IPosition]] ~~NOTOC~~