Skip to main content
All docs

Object Dialog

The Object dialog allows users to create a new OLE object from a file.

Rich Text Editor - Insert OLE Object Dialog

Click the Object button on the Insert tab to invoke this dialog. Refer to the following help topic for details on how to create a WPF Rich Text Editor application with a ribbon UI: Create a Simple Rich Text Editor.

Rich Text Editor - Insert OLE Object Button

The following options exist in the dialog:

  • File - Allows a user to select a file associated with a new OLE object.

  • Object type - Lists all available object types. Here a user can select the type of the created object.

  • Image Picker - Allows a user to load an image or icon for the OLE object. If a custom picture file is not loaded, the Rich Text Editor displays the default image/icon.

  • Display as icon - A user can select this check box to display the OLE object as an icon rather than an image.

  • Link to file - A user can select this check box to create the object that stores a link to the selected file.

For detailed information on how to insert OLE objects in code, refer to this help topic: OLE Objects.

See Also