Picture Property (ModHFGrid)

See Also    Example    Applies To

Returns a picture of your ModHFGrid. 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 ModHFGrid.

Remarks

The bitmap picture is a snapshot of your entire ModHFGrid 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 ModHFGrid. To do this, write a routine to hide all elements you do not want to show, acquire the picture, and then restore the ModHFGrid.

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.