Selection Object Members
Publisher Developer Reference |
Represents the current selection in a window or pane. A selection represents either a selected (or highlighted) area in the publication, or it represents the insertion point if nothing in the publication is selected. There can only be one Selection object per publication window pane, and only one Selection object in the entire application can be active.
Methods
Name | Description | |
---|---|---|
Unselect | Cancels the current selection. |
Properties
Name | Description | |
---|---|---|
Application | Used without an object qualifier, this property returns an Application object that represents the current instance of Publisher. Used with an object qualifier, this property returns an Application object that represents the creator of the specified object. When used with an OLE Automation object, it returns the object's application. | |
ChildShapeRange | Returns a ShapeRange object representing the child shapes of a selection. | |
Parent | Returns an object that represents the parent object of the specified object. For example, for a TextFrame object, returns a Shape object representing the parent shape of the text frame. Read-only. | |
ShapeRange | Returns a ShapeRange collection that represents all the Shape objects in the specified range or selection. The shape range can contain drawings, shapes, pictures, OLE objects, ActiveX controls, text objects, and callouts. | |
TableCellRange | Returns a CellRange object that represents the cells in a table selection. | |
TextRange | Returns a TextRange object that represents the text that's attached to a shape, as well as properties and methods for manipulating the text. | |
Type | Returns a PbSelectionType constant that represents the selection type. Read-only. |