Visual Basic (Declaration) | |
---|---|
Public Function SetChannelOffset( _ ByVal include As Boolean, _ ByVal channelOffset As Double _ ) As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public bool SetChannelOffset( bool include, double channelOffset ) |
Managed Extensions for C++ | |
---|---|
public: bool SetChannelOffset( bool include, double channelOffset ) |
C++/CLI | |
---|---|
public: bool SetChannelOffset( bool include, double channelOffset ) |
Parameters
- include
- True to insert the "Channel Offset" (003A,0218) element (that corresponds to this channel) into the dataset and then set its value, false to delete the "Channel Offset" (003A,0218) element (that corresponds to this channel) from the dataset.
- channelOffset
- New channel offset.
Return Value
true if the channel offset was updated successfully, false if an error occurred.For an example, refer to WaveformGroupCount.
This method sets the value of the "Channel Offset" (003A,0218) element that corresponds to this channel. Set include to true to force the method to insert the element if it doesn’t already exist in the dataset. This method can also be used to delete the "Channel Offset" (003A,0218) element that corresponds to this channel by setting include to false. In this case the channelOffset parameter is ignored.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family