Saltar para o conteúdo principal
Versão: 20 R5 BETA

Text

A text object allows you to display static written content (e.g., instructions, titles, labels, etc.) em um formulário. These static text areas can become dynamic when they include dynamic references. Para más información, consulte Uso de referencias en textos estáticos.

JSON Exemplo

    "myText": {
"type": "text",
"text": "Hello World!",
"textAlign": "center",
"left": 60,
"top": 160,
"width": 100,
"height": 20,
"stroke": "#ff0000" //text color
"fontWeight": "bold"
}

Rotação

4D le permite rotar las áreas de texto en sus formularios utilizando la propiedad Orientación.

La rotación del texto puede definirse para un proceso utilizando el comando de lenguaje OBJECT SET TEXT ORIENTATION.

Quando um texto é rodado, pode continuar a alterar o seu tamanho ou posição, bem como todas as suas propriedades. Note that the text area’s height and width properties do not depend on its orientation:

  • Si el objeto se redimensiona en la dirección A, se modifica su ancho;
  • Si el objeto se redimensiona en la dirección C, se modifica su alto;
  • Si el objeto se redimensiona en la dirección B, se modifican tanto su ancho como su alto.

Propriedades compatíveis

História
ReleaseMudanças
18 R6Suporte da propriedade Raio de canto

Bold - Border Line Style - Bottom - Class - Corner radius - Fill Color - Font - Font Color - Font Size - Height - Horizontal Alignment - Horizontal Sizing - Italic - Left - Object Name - Orientation - Right - Title - Top - Type - Underline - Vertical Sizing - Visibility - Width