DIAdem Help

Content Type
Programming Language
Current manual

Object: Curve2DPreview

Object: Curve2DPreview

The CurvePreview object corresponds to the CurvePreview control in a user dialog box. Use the Curve2DPreview object to define a curve preview to be displayed in the dialog box. Use the Curves property to specify which channels or channel pairs to display in the curve preview.

The following example displays a channel pair as blue spikes in the Curve2DPreview1 channel preview:

Dim oMyCurve
Call Curve2DPreview1.Curves.RemoveAll
Set oMyCurve = Curve2DPreview1.Curves.Add("[1]/[1]","[1]/[2]")
oMyCurve.Color = vbBlue
oMyCurve.Type = 1 '1=Spikes
Call Curve2DPreview1.Refresh

Properties Only Available on the Properties Tab

Flex | Layer

Was this information helpful?