ForeignData class
ForeignData class
Contains a MIME (Multipurpose Internet Mail Extensions) encoded BLOB of picture data, such as Windows metafile, bitmap, or OLE data.
The ForeignData type exposes the following members:
Properties
| Property | Description |
|---|---|
| image_data | Represents image of ole object as byte array. |
| object_data | Represents embedded ole object data as byte array. |
| foreign_type | Data type. |
| object_type | If the ForeignType attribute is “Object”, the ForeignData element must also have an ObjectType attribute. |
| show_as_icon | This attribute is only meaningful if the foreign data is an OLE2 embedded object. |
| object_width | This attribute is only meaningful if the foreign data is an OLE2 embedded object. The value expresses the width of the object in page units. |
| object_height | This attribute is only meaningful if the foreign data is an OLE2 embedded object. The value expresses the height of the object in page units. |
| mapping_mode | This attribute is only meaningful if the foreign data is a metafile. The value indicates the metafile mapping mode. |
| extent_x | This attribute is only meaningful if the foreign data is a metafile. The value indicates the horizontal extent of the metafile. |
| extent_y | This attribute is only meaningful if the foreign data is a metafile. The value indicates the vertical extent of the metafile. |
| compression_type | This attribute is only meaningful if the foreign data is a raster-based foreign object, such as a DIB, JPG, PNG, TIFF, or GIF file. The value indicates the type of compression applied to the file. |
| compression_level | This attribute is only meaningful if the foreign data is a raster-based foreign object, such as a DIB, JPG, PNG, TIFF, or GIF file. The value indicates the level of compression applied to the file. Compression level is measured in hundreds of a percent. |
| value | Contains a MIME (Multipurpose Internet Mail Extensions) encoded BLOB of picture data, such as Windows metafile, bitmap, or OLE data. |
| object_source_full_name | Returns the source full name of the source file for the linked OLE object. |
Methods
| Method | Description |
|---|---|
| clone() | Creates deep copy of this instance. |
See Also
- module aspose.diagram