insertObject
insertObject(fileName: String; link: Boolean; icon: Boolean);
The insertObject method of the JadeRichText class inserts a COM object (for example, an Excel chart, bitmap, or Word document) at the current position of the receiver (that is, at the insertion point in the control). The insertObject method parameters are listed in the following table.
Parameter | Description |
---|---|
fileName | Existing file containing the object to be inserted. If you do not specify a path, JADE looks in the current directory and raises an exception if the specified file is not in the directory or if it does not exist. |
link | Specify true if the object should be linked or false if it should be embedded. |
icon | Specify true if the object should be displayed as an icon or false if the object contents should be displayed. |
For an example of the use of this method, see "JadeRichText Control Method Example", earlier in this document.