Try something like this:
Code:
Rect square = new Rect();
square.left = (int)tote.BoundingRectLeft;
square.top = (int)tote.BoundingRectTop;
square.height = (int)(tote.BoundingRectBottom - tote.BoundingRectTop);
square.width = (int)(tote.BoundingRectRight - tote.BoundingRectLeft);
Rect dot = new Rect();
dot.left = (int)((tote.BoundingRectRight + tote.BoundingRectLeft) / 2);
dot.top = (int)((tote.BoundingRectTop + tote.BoundingRectBottom) / 2);
dot.height = 5;
dot.width = 5;
NIVision.imaqDrawShapeOnImage(destinationImage, sourceImage, square, DrawMode.DRAW_VALUE, ShapeMode.SHAPE_RECT, 1);
NIVision.imaqDrawShapeOnImage(destinationImage, sourceImage, dot, DrawMode.PAINT_VALUE, ShapeMode.SHAPE_OVAL, 5);
The last parameter in each of the NIVision method calls is the thickness.