API Documentation > CorelDRAW > 2025-v26
ViewHost class
ViewHost class
Syntax:
Class ViewHost
Remarks:
The ViewHost class represents a docking region that can host one or more views.
Properties:
Name Description
DockHost Returns the dock host this view host is in
DockItem Returns the DockItem object representation of the view host
ID Returns the ID of the view host
Position Returns the position and size of the view host on the screen
Views Returns the collection of views in this view host
Methods:
Name Description
InsertView Inserts a view into the view host at the given position
InsertViewHost Inserts all views from the given view host into the view host at the given position