AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones Editor de diagramas / Tipos de variables
  • WLanguage properties that can be used with the diagPoint type
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
diagPoint (Variable type)
 
The diagSelection type is used to define all the advanced characteristics of a point in a diagram. You can define and change the characteristics of this point using different WLanguage properties.
Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Ejemplo
MyShape is diagPolygon

// Set dimensions, position ...
MyShape.Point[1].X = 0
MyShape.Point[1].Y = 0
MyShape.Point[2].X = 25
MyShape.Point[2].Y = 25
MyShape.Point[3].X = 50
MyShape.Point[3].Y = 75
MyShape.Point[4].X = 100
MyShape.Point[4].Y = 20

MyShape.X = 50
MyShape.Y = 100

MyShape.Width = 350
MyShape.Height = 150

MyShape.Open = True

// Reference the displayed diagram
MyDiagram is Diagram <- DIAGEDT_MyDiagram

// Add the rectangle shape to the diagram
Add(MyDiagram.Shape, MyShape)
Propiedades

WLanguage properties that can be used with the diagPoint type

The following properties can be used to define the characteristics of diagPoint variables:
Property nameEffect
XX-coordinate of the point, expressed in pixels.
XPercentX-coordinate of the point, expressed as a percentage.
YY-coordinate of the point, expressed in pixels.
YPercentY-coordinate of the point, expressed as a percentage.

Note: The initial value of a point is (0,0).
Ver también
Versión mínima requerida
  • Versión 27
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 27/03/2025

Señalar un error o enviar una sugerencia | Ayuda local