Annotation.ResizeToContent Método
Definição
Redimensiona uma anotação de acordo com seu tamanho de conteúdo.Resizes an annotation according to its content size.
public:
virtual void ResizeToContent();
public virtual void ResizeToContent ();
abstract member ResizeToContent : unit -> unit
override this.ResizeToContent : unit -> unit
Public Overridable Sub ResizeToContent ()
Comentários
Define a largura e a altura da anotação de acordo com o texto especificado.Sets the annotation width and height to fit the specified text.
Esse método aplica- TextAnnotation se RectangleAnnotation somente a EllipseAnnotation objetos, e CalloutAnnotation .This method applies to TextAnnotation, RectangleAnnotation, EllipseAnnotation and CalloutAnnotation objects only.
Observação
Esse método requer que a anotação seja adicionada ao AnnotationCollection para funcionar corretamente.This method requires that the annotation be added to the AnnotationCollection to function correctly.