Use the tabs on the upper right to switch to a different programming language.

Use the tabs on the upper right to switch to a different programming language.

Use the tabs on the upper right to switch to a different programming language.

dev_set_contour_styledev_set_contour_styleDevSetContourStyleDevSetContourStyle (Operator)

Name

dev_set_contour_styledev_set_contour_styleDevSetContourStyleDevSetContourStyle — Define the contour display fill style.

Signature

dev_set_contour_style( : : Style : )

Herror dev_set_contour_style(const char* Style)

Herror T_dev_set_contour_style(const Htuple Style)

void DevSetContourStyle(const HTuple& Style)

static void HWindow::DevSetContourStyle(const HString& Style)

static void HWindow::DevSetContourStyle(const char* Style)

static void HWindow::DevSetContourStyle(const wchar_t* Style)   (Windows only)

static void HOperatorSet.DevSetContourStyle(HTuple style)

static void HWindow.DevSetContourStyle(string style)

Description

dev_set_contour_styledev_set_contour_styleDevSetContourStyleDevSetContourStyleDevSetContourStyle defines the fill style of contour displays. The following values are supported for StyleStyleStyleStylestyle:

For all styles the current drawing color is used.

Attention

Using the code export feature of HDevelop, the code that is generated for this operator may have a different behavior than the related HALCON operator. For a detailed description of the code export of HDevelop graphics operators into the different programming languages see in the “HDevelop User's Guide” the chapter Code Export -> General Aspects of Code Generation -> Graphics Windows.

Parameters

StyleStyleStyleStylestyle (input_control)  string HTupleHTupleHtuple (string) (string) (HString) (char*)

Fill style for contour display.

Default value: 'stroke' "stroke" "stroke" "stroke" "stroke"

List of values: 'fill'"fill""fill""fill""fill", 'stroke'"stroke""stroke""stroke""stroke", 'stroke_and_fill'"stroke_and_fill""stroke_and_fill""stroke_and_fill""stroke_and_fill"

Result

If the values of the specified parameters are correct, dev_set_contour_styledev_set_contour_styleDevSetContourStyleDevSetContourStyleDevSetContourStyle returns 2 (H_MSG_TRUE). Otherwise an exception is raised and an error code returned.

Possible Successors

dev_displaydev_displayDevDisplayDevDisplayDevDisplay

See also

set_contour_styleset_contour_styleSetContourStyleSetContourStyleSetContourStyle

Module

Foundation