====== EnsureRangeVisible ====== Method of [[:scripting:api:text-view:start|ITextView]] ===== Description ===== Ensures that window is not intersects with provided area ===== Parameters ===== * [[scripting:api:data-type:ULONG|ULONG]] **hWnd** * [[:scripting:api:range:overview|IRange]] **pRange** ===== Syntax ===== ==== JavaScript ==== TextView.EnsureRangeVisible(hWnd, pRange); ==== Visual Basic Script ==== TextView.EnsureRangeVisible hWnd, pRange ==== C++ ==== HRESULT hr = TextView.EnsureRangeVisible(hWnd, pRange); ===== See Also ===== [[:scripting:api:text-view:start|ITextView]] ~~NOTOC~~