ITextPlugin

class ITextPlugin

Bases: ImpactCOMWrapperBase

Summary:

ITextPlugin provides the ability to assign custom text to entities using almost any development environment.

Wraps a COM object or another wrapper instance. Accepts: - A valid impact_object - An existing impact_com_wrapper_base-derived instance

get_text(id, layer)
Summary:

Implement this method to define the text assigned to a text entity.

Parameters:
  • id (str) – Use this parameter to determine the text that should be returned.

  • layer (ILayer) – The layer to use.

isNone()

Checks if the COM object is None. This is useful for determining if the wrapper has been initialized with a valid COM object.