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. ====== SetRect ====== Method of [[:scripting:api:external-document-view:start|IExternalDocumentView]] ===== Description ===== Directs the preview handler to change the area within the parent hwnd that it draws into. ===== Parameters ===== * [[scripting:api:data-type:tagRECT|tagRECT]] **prc** ===== Syntax ===== ==== JavaScript ==== <code javascript> ExternalDocumentView.SetRect(prc); </code>==== Visual Basic Script ==== <code vb> ExternalDocumentView.SetRect prc </code>==== C++ ==== <code cpp> HRESULT hr = ExternalDocumentView.SetRect(prc); </code>===== See Also ===== [[:scripting:api:external-document-view:start|IExternalDocumentView]] ~~NOTOC~~