Share via


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
Aa438773.methods(en-us,office.12).gif Unselect Cancels the current selection.

Properties

  Name Description
Aa438773.properties(en-us,office.12).gif 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.
Aa438773.properties(en-us,office.12).gif ChildShapeRange Returns a ShapeRange object representing the child shapes of a selection.
Aa438773.properties(en-us,office.12).gif 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.
Aa438773.properties(en-us,office.12).gif 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.
Aa438773.properties(en-us,office.12).gif TableCellRange Returns a CellRange object that represents the cells in a table selection.
Aa438773.properties(en-us,office.12).gif 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.
Aa438773.properties(en-us,office.12).gif Type Returns a PbSelectionType constant that represents the selection type. Read-only.