API Documentation > CorelDRAW > 2025-v26 > DockHost > ICUIDockHost
DockHost.InsertView method
Creates a child view host and inserts the view ito it
Syntax:
Function InsertView(ByVal ViewToInsert As ViewWindow, ByVal Index As Long, Optional ByVal Operation As cuiDockOperation = cuiDockOperationInsert) As ViewHost
Parameters:
Name Type Description
ViewToInsert
Index
Long
Operation
Optional
Remarks:
The InsertView method creates a child view host and inserts the view in the host.