WANALYZER_BUDDY_PICTURE structure |
|
The WANALYZER_BUDDY_PICTURE structure (defined as WANALYZER_BUDDY_PICTURE_DLL when used for COM interoperability) describes settings applied to a "buddy" picture assigned to a graphic item, available on the Waveform Analyzer, through one between the WaveformAnalyzer.GraphicItemBuddyPictureSetFromFile,WaveformAnalyzer.GraphicItemBuddyPictureSetFromMemory or WaveformAnalyzer.GraphicItemBuddyPictureSetFromHandle methods. The current settings of the "buddy" picture can be retrieved through the WaveformAnalyzer.GraphicItemBuddyPictureParamsGet method and modified through the WaveformAnalyzer.GraphicItemBuddyPictureParamsSet 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_PICTURE
{
public Color colorTransp;
public Int16 nTranspFactor;
public enumBuddyAlignment nAlignment;
public Int32 nResizeWidth;
public Int32 nResizeHeight;
public bool bKeepVisible;
}
Definition for COM Interoperability
public struct WANALYZER_BUDDY_PICTURE_DLL
{
public Int32 colorTransp;
public Int16 nTranspFactor;
public Int32 nAlignment;
public Int32 nResizeWidth;
public Int32 nResizeHeight;
public Int16 bKeepVisible;
}
Member |
Description |
||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
Color of the picture rendered as transparent. |
|||||||||||||||||||||||||||||||
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:
|
|||||||||||||||||||||||||||||||
Resize width in pixels (0 use original width). |
|||||||||||||||||||||||||||||||
Resize height in pixels (0 use original height). |
|||||||||||||||||||||||||||||||
Boolean value that specifies if the picture is kept visible when reaching the limits of the waveform visible range. Supported values are the following:
|