MeasFrame

_MeasFrameProperties, MeasFrame, MeasFrameColor, MeasFrameProperties, ShowFrame, ToggleFrame

MeasFrame

Description 

 MeasFrame(
   int  FrameLeft,
   int  FrameTop,
   int  FrameRight,
   int  FrameBottom
);

This function defines a measurement frame.

Parameters

int FrameLeft

Left margin of a measurement frame.

int FrameTop

Top margin of a measurement frame.

int FrameRight

Right margin of a measurement frame.

int FrameBottom

Bottom margin of a measurement frame.

See Also 
MeasureField, ScanObjects, MaskOn

MeasFrameColor

Description 

 MeasFrameColor(
   int  FrameColor
);

Defines the frame color.

Parameters

int FrameColor

Color of the frame.

See Also 
MeasFrame

MeasFrameProperties

Interactive command to this function: Measure > Measurement Frame

Description 

 MeasFrameProperties(
   int  FrameColor,
   double  FrameLineWidth,
   int  FrameLeft,
   int  FrameTop,
   int  FrameRight,
   int  FrameBottom
);

This function sets the color, line width, position and size of the measurement frame.

Parameters

int FrameColor

The color as 32bit signed integer, see example

double FrameLineWidth

Frame line width [px]

int FrameLeft

The x-coordinate of the top-left corner of the frame

int FrameTop

the y-coordinate of the top-left corner of the frame

int FrameRight

The x-coordinate of the bottom-right corner of the frame

int FrameBottom

The y-coordinate of the bottom-right corner of the frame

MeasFrameProperties(RGB(255, 0, 0), 1.0, 100, 100, 200, 200); // red color

See Also 
RGB

ShowFrame

Description 

 ShowFrame(
   int  FrameVisible
);

The function shows or hides the measurement frame.

Parameters

int FrameVisible

Displays or hides the frame.

1, TRUE

Displays the frame.

0, FALSE

Hides the frame.

See Also 
ShowScale, ShowGraticule

ToggleFrame

This function runs the Measure > Use Measurement Frame command.

Description 

 ToggleFrame();

This function displays/hides the measurement frame.

_MeasFrameProperties

This function runs the Measure > Measurement Frame command.

Description 

 _MeasFrameProperties();

This function displays the Measurement Frame Properties dialog window.