Synopsis
PDX_MSGT dxcr_Ole2Frame(long option, int dxf_model, double ul_corner[3], double ll_corner[3], double ur_corner[3], double lr_corner[3], char *location, int tile_mode, int aspect, int object_type, char *user_type, MDA_PTR *dxf_ole_ptr)
Purpose
Create a DXF OLE2FRAME
Description
A DXF OLE2FRAME entity is created for the given data. The location string contains the path and the file name of the binary data that will be put inside the OLE Object, i.e. the excel spreadsheet. The tile_mode should be set to: 0 = Object is in a tiled model space viewport 1 = Object is in a non-tiled viewport (paper space or floating model space) The aspect entity should be set to: DXFI_DVASPECT_CONTENT DXFI_DVASPECT_THUMBNAIL DXFI_DVASPECT_ICON DXFI_DVASPECT_DOCPRINT The object_type should be set to: 1 = Linked Ole Object 2 = Embedded Ole Object 3 = Static Ole Object The user_type is a string that describes the Ole Object, i.e. "Paintbrush Bitmap"
Input
option
Options (not used)
dxf_model
DXF Model to create entity in
ul_corner
Upper Left hand corner of OLE Object
ll_corner
Lower Left hand corner of OLE Object
ur_corner
Upper Right hand corner of OLE Object
lr_corner
Lower Right hand corner of OLE Object
location
Location and filename where the binary data resides
tile_mode
Tile mode flag
aspect
Aspect of the OLE Object
object_type
OLE Object is linked, static or embedded
user_type
User Type string of OLE Object
Output
dxf_ole_ptr
Entity pointer of the DXF OLE2FRAME
Return
DXCR_NOERR
Low level error return
.fi