UiPath Documentation
activities
latest
false
Atividades do UIAutomation
Importante :
A tradução automática foi aplicada parcialmente neste conteúdo. A localização de um conteúdo recém-publicado pode levar de 1 a 2 semanas para ficar disponível.

Highlight

Realçar a API de automação codificada de Automação de Interface Gráfica: destaca visualmente um elemento de IU especificado circundando-o em uma caixa.

Realça visualmente um elemento de interface gráfica especificado delimitando-o em uma caixa.

Essa API deve ser adicionada após Abrir ou Anexar.

Definição

Namespace: UiPath.UIAutomationNext.API.Models

Assembly: UiPath.UIAutomationNext.API.Models (na dll UiPath.UIAutomationNext.API.Models)

Sobrecarregas

SobrecargaDescription
Highlight(String, HighlightOptions)Destaca um elemento de interface gráfica especificado, identificado como uma string do Repositório de Objetos, juntamente com outras personalizações.
Highlight(TargetAnchorableModel, HighlightOptions)Destaca um elemento de interface gráfica específico, identificado como um TargetAnchorableModel, juntamente com outras personalizações.
Highlight(String, KnownColor, Double)Realça um elemento de interface gráfica específico, identificado como uma string do Repositório de Objetos, enquanto especifica a cor de realce e por quanto tempo ele deve ficar realçado.

Highlight(String, HighlightOptions)

Destaca um elemento de interface gráfica especificado, identificado como uma string do Repositório de Objetos, juntamente com outras personalizações.

Highlight(
    string target,
    HighlightOptions highlightOptions)
Highlight(
    string target,
    HighlightOptions highlightOptions)

target String: o elemento de interface gráfica que você deseja realçar, identificado como uma string do Repositório de objetos.

highlightOptions: Opções adicionais para personalizar a ação de destaque:

* `HighlightTime Double` - The number of seconds for which to highlight the target element. The default value is 2 seconds.
* `Color
  KnownColor` - Choose the color of the box that surrounds the highlighted element. The default value is Gold.
* `HighlightTime Double` - The number of seconds for which to highlight the target element. The default value is 2 seconds.
* `Color
  KnownColor` - Choose the color of the box that surrounds the highlighted element. The default value is Gold.

Highlight(TargetAnchorableModel, HighlightOptions)

Destaca um elemento de interface gráfica específico, identificado como um TargetAnchorableModel, juntamente com outras personalizações.

Highlight(
    TargetAnchorableModel target,
    HighlightOptions highlightOptions)
Highlight(
    TargetAnchorableModel target,
    HighlightOptions highlightOptions)

target TargetAnchorableModel: o elemento de interface gráfica que você deseja realçar, identificado como um objeto TargetAnchorableModel.

highlightOptions: Opções adicionais para personalizar a ação de destaque:

* `HighlightTime Double` - The number of seconds for which to highlight the target element. The default value is 2 seconds.
* `Color KnownColor` - Choose the color of the box that surrounds the highlighted element. The default value is
  Gold.
* `HighlightTime Double` - The number of seconds for which to highlight the target element. The default value is 2 seconds.
* `Color KnownColor` - Choose the color of the box that surrounds the highlighted element. The default value is
  Gold.

Highlight(String, KnownColor, Double)

Realça um elemento de interface gráfica específico, identificado como uma string do Repositório de Objetos, enquanto especifica a cor de realce e por quanto tempo ele deve ficar realçado.

Highlight(
    string target,   
    [KnownColor color],
    [double duration])
Highlight(
    string target,   
    [KnownColor color],
    [double duration])

target String: o elemento de interface gráfica que você deseja realçar, identificado como uma string do Repositório de objetos.

color KnownColor: Escolha a cor da caixa que envolve o elemento destacado. O valor padrão é Ouro.

duration : o número de segundos durante os quais realçar o elemento de destino. O valor padrão é de 2 segundos.

Esta página foi útil?

Conectar

Precisa de ajuda? Suporte

Quer aprender? Academia UiPath

Tem perguntas? Fórum do UiPath

Fique por dentro das novidades