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

PropertyDescription
image_dataRepresents image of ole object as byte array.
object_dataRepresents embedded ole object data as byte array.
foreign_typeData type.
object_typeIf the ForeignType attribute is “Object”, the ForeignData element must also have an ObjectType attribute.
show_as_iconThis attribute is only meaningful if the foreign data is an OLE2 embedded object.
object_widthThis 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_heightThis 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_modeThis attribute is only meaningful if the foreign data is a metafile. The value indicates the metafile mapping mode.
extent_xThis attribute is only meaningful if the foreign data is a metafile. The value indicates the horizontal extent of the metafile.
extent_yThis attribute is only meaningful if the foreign data is a metafile. The value indicates the vertical extent of the metafile.
compression_typeThis 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_levelThis 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.
valueContains a MIME (Multipurpose Internet Mail Extensions) encoded BLOB of picture data, such as Windows metafile, bitmap, or OLE data.
object_source_full_nameReturns the source full name of the source file for the linked OLE object.

Methods

MethodDescription
clone()Creates deep copy of this instance.

See Also