|
|
|
|
- Properties specific to diagShape variables
diagBorder (Type of variable) In french: diagBordure
The diagBorder type is used to define all the advanced characteristics of a border (or borders) of a shape used in a diagram. The characteristics of this border can be defined and changed using different WLanguage properties. Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable. CAUTION: This type cannot be used directly. It must be used only via the diagShape type (or one of its derived types). // Create a rectangle shape MyShape is diagRectangle  // Set the dimensions, position and background color MyShape.X = 100 MyShape.Y = 100 MyShape.Width = 350 MyShape.Height = 150 MyShape.Background.Color = PastelRed MyShape.Border.Color = Black MyShape.Border.Thickness = 2 MyShape.Border.Type = LineDash  // Reference the displayed diagram MyDiagram is Diagram <- DIAGEDT_MyDiagram  // Add the rectangle shape to the diagram Add(MyDiagram.Shape, MyShape) Properties Properties specific to diagShape variables The following properties can be used to handle the border of a shape:
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|