UiPath Documentation
activities
latest
false
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.
UiPath logo, featuring letters U and I in white

Atividades do UIAutomation

Última atualização 23 de abr de 2026

Highlight

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 delimita o elemento realçado. O valor padrão é Ouro.

duration Double : o número de segundos nos 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