Picture Property (MSHFlexGrid)

       

Returns a picture of your MSHFlexGrid. This picture is suitable for printing, saving to disk, copying to the clipboard, or assigning to a different control.

Syntax

object.Picture [=picture]

The Picture property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
picture A bitmap showing your MSHFlexGrid.

Remarks

The bitmap picture is a snapshot of your entire MSHFlexGrid on the Project Form window. It can, therefore, be very large. There are two ways to reduce the size of a bitmap picture. One option is to create a picture of a section of your MSHFlexGrid. To do this, write a routine to hide all elements you donÆt want to show, acquire the picture, and then restore the MSHFlexGrid.

Alternatively, you can set the PictureType property to 1 (Monochrome). However, this decreases not only the amount of memory used, but also the picture resolution.