API Documentation > CorelDRAW > 2025-v26
DockItem class
DockItem class
Syntax:
Class DockItem
Remarks:
The DockItem class represents a dock item such as a toolbar, status bar, dock host, or view host.
Properties:
Name Description
DockHost Returns the object for dock items that represent a dock host
ID Returns the ID of the dock item
Index Returns the index of tihe dock item in the parent dock host
Position Returns the position and size of dock item on the screen
RelativeSize Specifies the relative size of this item in relation to all other in the parent dock host
Type Returns the type of the dock item
ViewHost Returns the object for dock items that represent a view host