CellHeight, CellWidth Properties (PictureClip Control)

       

Returns the height and width, in pixels, of a PictureClip control's GraphicCell property.

Syntax

object.CellHeight

object.CellWidth

The object placeholder represents an object expression that evaluates to a PictureClip control.

Remarks

The CellHeight and CellWidth properties are dependent upon the Cols and Rows properties of a PictureClip control. For example, dividing a picture into four columns and four rows would result in a GraphicCell that is twice the size of the same picture divided into eight columns and eight rows.