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

query_line_widthquery_line_widthquery_line_widthQueryLineWidthQueryLineWidth (Operator)

Name

query_line_widthquery_line_widthquery_line_widthQueryLineWidthQueryLineWidth — Query the possible line widths.

Signature

query_line_width( : : : Min, Max)

Herror query_line_width(Hlong* Min, Hlong* Max)

Herror T_query_line_width(Htuple* Min, Htuple* Max)

Herror query_line_width(Hlong* Min, Hlong* Max)

void HOperatorSetX.QueryLineWidth(
[out] VARIANT* Min, [out] VARIANT* Max)

Hlong HInfoX.QueryLineWidth([out] Hlong* Max)

static void HOperatorSet.QueryLineWidth(out HTuple min, out HTuple max)

static void HInfo.QueryLineWidth(out int min, out int max)

Description

query_line_widthquery_line_widthquery_line_widthQueryLineWidthQueryLineWidth returns the minimal (MinMinMinMinmin) and maximal (MaxMaxMaxMaxmax) values of widths of region border which can be displayed. Setting of the border width is done with set_line_widthset_line_widthset_line_widthSetLineWidthSetLineWidth. Border width is used by operators like disp_regiondisp_regiondisp_regionDispRegionDispRegion, disp_linedisp_linedisp_lineDispLineDispLine, disp_circledisp_circledisp_circleDispCircleDispCircle, disp_rectangle1disp_rectangle1disp_rectangle1DispRectangle1DispRectangle1, disp_rectangle2disp_rectangle2disp_rectangle2DispRectangle2DispRectangle2 etc. if the drawing mode is “margin” (set_drawset_drawset_drawSetDrawSetDraw(::WindowHandle,'margin':)).

Parallelization

Parameters

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

Displayable minimum width.

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

Displayable maximum width.

Result

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

Possible Successors

get_line_widthget_line_widthget_line_widthGetLineWidthGetLineWidth, set_line_widthset_line_widthset_line_widthSetLineWidthSetLineWidth, set_line_styleset_line_styleset_line_styleSetLineStyleSetLineStyle, disp_linedisp_linedisp_lineDispLineDispLine

See also

disp_circledisp_circledisp_circleDispCircleDispCircle, disp_linedisp_linedisp_lineDispLineDispLine, disp_rectangle1disp_rectangle1disp_rectangle1DispRectangle1DispRectangle1, disp_rectangle2disp_rectangle2disp_rectangle2DispRectangle2DispRectangle2, disp_regiondisp_regiondisp_regionDispRegionDispRegion, set_line_widthset_line_widthset_line_widthSetLineWidthSetLineWidth, get_line_widthget_line_widthget_line_widthGetLineWidthGetLineWidth, set_line_styleset_line_styleset_line_styleSetLineStyleSetLineStyle

Module

Foundation


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