Entities
entities/ ole2frame
#include "dxfio/entities/ole2frame.hpp"In DxfIO::Entities
struct Frame
The AcDbOle2Frame subclass of an OLE2FRAME: the corners of the frame and the bytes of the OLE object.
| Field | Type and default | Meaning |
|---|---|---|
Version | int{2} | The OLE version. Group 70. |
Description | std::string | The description of the object, such as the kind of document it is. Group 3. |
Upper | Vector | The upper-left corner, in world coordinates. Groups 10, 20, 30. |
Lower | Vector | The lower-right corner, in world coordinates. Groups 11, 21, 31. |
Kind | int{Embedded} | 1 linked, 2 embedded, 3 static. Group 71. |
Space | int | 0 in model space, 1 in paper space. Group 72. |
Data | std::string | The bytes of the OLE object. Groups 90 and 310. |
struct Ole2FrameOLE2FRAME
An OLE2FRAME: an OLE object, such as a spreadsheet, placed in the drawing.
| Field | Type | Meaning |
|---|---|---|
Record | Entities::Record | The layer, linetype, color and the rest every entity carries. |
Frame | Boxed<Entities::Frame> | The frame and the object, from the AcDbOle2Frame subclass. |
Constants
Embedded | int = 2 | The object type of an embedded OLE object, as against a linked or a static one. |