method Face.CreatePicture ()
Creates / Retrieves the FacePicture object to be shown on the current face.

TypeDescription
ReturnDescription
FacePictureA FacePicture object being created / retrieved.
The CreatePicture creates a Picture control if it is called for the first time ( changes the face's Type property to exFacePicture), and retrieve the FacePicture object, for the next calls. The FacePicture property retrieves FacePicture object, if the face's Type property is exFacePicture, else it returns nothing. The InitFacePicture / InitFaceContent event occurs once the face's Type property has been changed to exFacePicture, or calling the CreatePicture method for the first time. You can use the InitFacePicture event to initialize all faces of Picture type. The Visible property specifies whether the face's content is visible or hidden. The Enabled property enables or disables the face. Use the RelativeMargins / Margins property to specify the margins of the face's content relative to its face. 

A face that contains a Picture control may fire any of the following events ( CreatePicture, Type on exFacePicture ):