|
|
|
|
|
- Selection in a Word Processing control
Selection (Property) In french: Selection
The Selection property is used to get the characteristics of the selection (or cursor): in a Word Processing control. Note: This selection is located in the part being edited (body, header or footer).. in a Spreadsheet control. in an HTML Editor control - in a Diagram Editor control.
MySelection is diagSelection <- DIAGEDT_MyDiagram.Selection
IF MySelection.Shape.Count > 0 THEN
FOR EACH stShape OF MySelection.Shape
STC_SELECTION_INFO = stShape.Name + "has been selected." +
" [ " + stShape.X + ", " + stShape.Y + " - " + stShape.Width +
"x" + stShape.Height + " ]"
END
ELSE
STC_SELECTION_INFO = "Click a shape in the diagram to get the selection"
END
Syntax
Retrieving the properties of the selection in a Diagram Editor control Hide the details
<Result> = <Diagram Editor control>.selection
<Result>: diagSelection variable diagSelection variable describing the selection. <Diagram Editor control>: Control name Name of the Diagram Editor control.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|