|
|
|
|
|
- Propiedades específicas de las variables de tipo diagGroup
diagGroup (Tipo de variable)
El tipo diagGroup se utiliza para definir todas las características avanzadas de un grupo de formas en un control Editor de diagramas. Puede definir y cambiar las características de este grupo utilizando diferentes propiedades de WLanguage. Nota: Para obtener más información sobre la declaración de este tipo de variable y el uso de propiedades WLanguage, consulte Declarar una variable. //Info(DIAGEDT_MyDiagram.Size) MyShape1 is diagRectangle MyShape1.X = 100 MyShape1.Y = 100 MyShape1.Width = 50 MyShape1.Height = 50 MyShape1.Background.Color = PastelRed MyShape2 is diagOval MyShape2.X = 250 MyShape2.Y = 100 MyShape2.Width = 50 MyShape2.Height = 50 MyShape2.Background.Color = PastelRed // Reference the displayed diagram MyDiagram is Diagram <- DIAGEDT_DIAGRAM MyGroup is diagGroup MyGroup.Shape.Add(MyShape1) MyGroup.Shape.Add(MyShape2) Add(MyDiagram.Shape, MyGroup) Propiedades Propiedades específicas de las variables de tipo diagGroup Note: The diagGroup type inherits from the diagShape type, all the properties of the diagShape type are available for the diagGroup. These properties appear in italics in the list below. Las siguientes propiedades pueden utilizarse para tratar una forma de tipo diagGroup: | | | Nombre de la propiedad | Tipo utilizado | Efecto |
---|
ActionAllowed | diagActionAllowed or constant | - diagActionAllowed variable used to define the changes the user can make to the shape.
- constant diagActionNo: no action will be allowed on the form.
- Constant diagActionToute (default value): all possible actions will be allowed on the shape.
| Angle | Real | Angle of rotation of the shape (in degrees). | Background | Constant, integer or Color | Background color of the shape. The Color property is used to define the background color of the shape. Esta propiedad puede corresponder a: - un color RGB (devuelto por la función RGB),
- un color HSL (devuelto por la función HSL),
- un color predefinido de WLanguage.
- una variable de tipo Color. En este caso, se tiene en cuenta la opacidad especificada en la variable.
| Border | diagBorder | Characteristics of the shape border. The available properties are: - Color: border color.
- Thickness: edge thickness.
- Type: type of border.
| Comment | Character string | Note about the shape. This note is not displayed. | ConnectionPoint | Array of diagConnectionPoint | List of connection points of the shape. | Novedad versión 2025Extra | Variant | Permite almacenar información avanzada sin afectar la ejecución de la aplicación. Puede almacenar valores de cualquier tipo (array, etc.). También es posible agregar miembros a la propiedad Extra. Ejemplo:
MyVariable.Extra.Info1 = Value MyVariable.Extra[Info2] = Value2 MyVariable.Extra.Date = DateSys() | Forma | Array de diagShape | Formas en el grupo. | Height | Real | Height of the box that contains the shape before rotation or zoom, expressed in pixels. | Name | Character string | Shape name. This name will be used for searching, for example, if the shape is in a library. | Note | Character string | Note associated with the shape. | Opacity | Integer | Percentage of opacity of the shape. This value ranges from invisible (0) to completely opaque (100). | Shadow | Boolean | - True if the shape has a shadow,
- False otherwise.
| Text | diagText | Text (with formatting) inside the shape. | Width | Real | Width of the box that contains the shape before rotation or zoom, expressed in pixels. | X | Real | X-coordinate of the box that contains the shape before rotation or zoom, expressed in pixels. This X-coordinate is relative to the parent of the shape. | Y | Real | Y-coordinate of the box that contains the shape before rotation or zoom, expressed in pixels. This Y-coordinate is relative to the parent of the shape. |
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|