====== 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 ==== ExternalDocumentView.SetRect(prc); ==== Visual Basic Script ==== ExternalDocumentView.SetRect prc ==== C++ ==== HRESULT hr = ExternalDocumentView.SetRect(prc); ===== See Also ===== [[:scripting:api:external-document-view:start|IExternalDocumentView]] ~~NOTOC~~