HALCON Reference Manual 10.0.2
Table of Contents / Graphics / Parameters ClassesClassesClasses | | | Operators

get_line_widthget_line_widthget_line_widthGetLineWidthGetLineWidth (Operator)

Name

get_line_widthget_line_widthget_line_widthGetLineWidthGetLineWidth — Get the current line width for contour display.

Signature

get_line_width( : : WindowHandle : Width)

Herror get_line_width(const Hlong WindowHandle, Hlong* Width)

Herror T_get_line_width(const Htuple WindowHandle, Htuple* Width)

Herror get_line_width(const HTuple& WindowHandle, Hlong* Width)

Hlong HWindow::GetLineWidth() const

void HOperatorSetX.GetLineWidth(
[in] VARIANT WindowHandle, [out] VARIANT* Width)

Hlong HWindowX.GetLineWidth()

static void HOperatorSet.GetLineWidth(HTuple windowHandle, out HTuple width)

int HWindow.GetLineWidth()

Description

get_line_widthget_line_widthget_line_widthGetLineWidthGetLineWidth returns the line width for region display in the window. It is used by operators like disp_regiondisp_regiondisp_regionDispRegionDispRegion, disp_linedisp_linedisp_lineDispLineDispLine, disp_polygondisp_polygondisp_polygonDispPolygonDispPolygon, etc. WidthWidthWidthWidthwidth is set with the operator set_line_widthset_line_widthset_line_widthSetLineWidthSetLineWidth. WidthWidthWidthWidthwidth is only important for displaying the contour of objects.

Parallelization

Parameters

WindowHandleWindowHandleWindowHandleWindowHandlewindowHandle (input_control)  window HWindow, HTupleHTupleHWindowX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong)

Window_id.

WidthWidthWidthWidthwidth (output_control)  integer HTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong)

Current line width for contour display.

Result

get_line_widthget_line_widthget_line_widthGetLineWidthGetLineWidth returns 2 (H_MSG_TRUE) if the window is valid. Otherwise an exception is raised.

Possible Successors

set_line_widthset_line_widthset_line_widthSetLineWidthSetLineWidth, set_line_styleset_line_styleset_line_styleSetLineStyleSetLineStyle, disp_regiondisp_regiondisp_regionDispRegionDispRegion

See also

set_line_widthset_line_widthset_line_widthSetLineWidthSetLineWidth, disp_regiondisp_regiondisp_regionDispRegionDispRegion

Module

Foundation


Table of Contents / Graphics / Parameters ClassesClassesClasses | | | Operators
HALCON Reference Manual 10.0.2 Copyright © 1996-2011 MVTec Software GmbH