Setting Image Attributes

Visual Basic User's Guide > Using Images

TX Text Control has a built-in dialog box which enables you to change the size of an image, the way images are stored, and various other settings. In the sample program, the Image Attributes dialog box is invoked either with the Image Settings menu item, or by right-clicking on an image. The dialog box is opened using the ObjectAttrDialog method:

[Visual Basic 6]
Private Sub mnuImage_Settings_Click()
    TXTextControl1.ObjectAttrDialog
End Sub

Private Sub TXTextControl1_ObjectRightClicked(ByVal ObjectId As Integer)
    TXTextControl1.ObjectAttrDialog
End Sub