ITextPlugin2¶
- class ITextPlugin2¶
Bases:
ITextPlugin- Summary:
Implement this method to define the text assigned to a text entity.
- Remarks:
Similar to ITextPlugin, except that it also implements the get_text2 method. Implementing an ITextPlugin2 simply requires both get_text and get_text2 to be implemented, typically with get_text calling get_text2 directly. Introduced in Impact 11.0.0.74.
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.
- get_text2(id, layer, row_values)¶
- Summary:
Implement this method to define the text assigned to a text entity.
- Remarks:
This plugin interface is for using with data repeaters to calculate text entity values.
- Parameters:
id (str) – Use this parameter to determine the text that should be returned.
layer (ILayer) – The layer to use.
row_values (IDatabaseValues) – All row values.
- isNone()¶
Checks if the COM object is None. This is useful for determining if the wrapper has been initialized with a valid COM object.