Setting Image Attributes

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:

[Delphi]
procedure TForm1.Settings1Click(Sender: TObject);
begin
    TXTextControl1.ObjectAttrDialog;
end;

procedure TForm1.TXTextControl1ObjectRightClicked(Sender: TObject;
    ObjectId: Smallint);
begin
    TXTextControl1.ObjectAttrDialog;
end;