Back to Devexpress

Object Dialog

wpf-402558-controls-and-libraries-rich-text-editor-visual-elements-dialogs-object-dialog.md

latest1.6 KB
Original Source

Object Dialog

  • Jan 20, 2021

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

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.

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

OLE Objects in Rich Text Documents