WANALYZER_BUDDY_TEXT structure |
|
The WANALYZER_BUDDY_TEXT structure (defined as WANALYZER_BUDDY_TEXT_DLL when used for COM interoperability) describes settings applied to a "buddy" text assigned to a graphic item, available on the Waveform Analyzer, through the WaveformAnalyzer.GraphicItemBuddyTextSet method. The current settings of the "buddy" text can be retrieved through the WaveformAnalyzer.GraphicItemBuddyTextParamsGet method and modified through the WaveformAnalyzer.GraphicItemBuddyTextParamsSet method.
For details about the use of the Waveform Analyzer refer to the How to use the Waveform Analyzer section.
For further details about methods of the Waveform Analyzer refer to the WaveformAnalyzer class section.
C# definition
public struct WANALYZER_BUDDY_TEXT
{
public Color colorText;
public Color colorTextOutline;
public Int16 nOutlineWidth;
public Int16 nTranspFactor;
public enumBuddyAlignment nAlignment;
public bool bKeepVisible;
}
Definition for COM Interoperability
public struct WANALYZER_BUDDY_TEXT_DLL
{
public Int32 colorText;
public Int32 colorTextOutline;
public Int16 nOutlineWidth;
public Int16 nTranspFactor;
public Int32 nAlignment;
public Int16 bKeepVisible;
}
Member |
Description |
||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
Text color |
|||||||||||||||||||||||||||||||
Text outline color. If this color is set to a value identical to the colorText field, no outline is rendered. |
|||||||||||||||||||||||||||||||
Text outline width in pixels. If this field is set to 0, no outline is rendered. |
|||||||||||||||||||||||||||||||
Transparent factor. This value can range from 0 (total opacity) to 255 (total transparency). Values outside of this range will be automatically capped to the nearest valid value. |
|||||||||||||||||||||||||||||||
Alignment respect to the graphic item. Supported values are the following:
|
|||||||||||||||||||||||||||||||
Boolean value that specifies if the buddy text is kept visible when reaching the limits of the waveform visible range. Supported values are the following:
|