You are here: Start » FIL.NET » ProfileBox.ProfileContainer.SetData Method
ProfileBox.ProfileContainer.SetData Method
Sets the profile data to be shown in the control.
Namespace: | HMI.Controls |
---|---|
Assembly: | HMI.Controls.dll |
Syntax
public void SetData ( System.IntPtr data, int size, double xOffset, double xScale )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
data | System.IntPtr | Pointer to the beginning of the profile sample points (of type float). | |||
size | int | Number of sample points in the profile data. | |||
xOffset | double | Offset of profile x scale coordinates (position of the first profile point on the horizontal scale). | |||
xScale | double | Scaling factor of the profile x scale coordinates (horizontal scale gap width between consecutive profile points). |