User's Guide > Drawings > Accessing OLE Objects
Accessing OLE Objects
An object linking and embedding (OLE) object is an external file, such as a document, graphics file, or video file that is created using an external application and which can be inserted into another application, such as . You can create and insert supported OLE objects into a two-dimensional file, such as a drawing, report, format file, Notebook, or diagram. The functions described in this section enable you to identify and access OLE objects embedded in drawings.
Function Description
The function ProDrawingOLEobjectSheetGet() returns the sheet number for the OLE object.
The function ProDrawingOLEobjectOutlineGet() returns the extent of the OLE object embedded in the drawing.
The function ProDrawingOLEobjectApplicationtypeGet() returns the type of the OLE object as a string, for example, “Microsoft Word Document”.
The function ProDrawingOLEobjectPathGet() returns the path to the external file for each OLE object, if it is linked to an external file.
Isto foi útil?