ForeignData

ForeignData class

Contains a MIME (Multipurpose Internet Mail Extensions) encoded BLOB of picture data, such as Windows metafile, bitmap, or OLE data.

Properties

NameTypeDescription
ImageDatabyte[]Represents image of ole object as byte array.
ObjectDatabyte[]Represents embedded ole object data as byte array.
ForeignTypeintData type. The value of the property is ForeignType integer constant.
ObjectTypeintIf the ForeignType attribute is “Object”, the ForeignData element must also have an ObjectType attribute. The value of t
ShowAsIconintThis attribute is only meaningful if the foreign data is an OLE2 embedded object. The value of the property is BOOL inte
ObjectWidthfloatThis attribute is only meaningful if the foreign data is an OLE2 embedded object. The value expresses the width of the o
ObjectHeightfloatThis attribute is only meaningful if the foreign data is an OLE2 embedded object. The value expresses the height of the
MappingModeintThis attribute is only meaningful if the foreign data is a metafile. The value indicates the metafile mapping mode.
ExtentXfloatThis attribute is only meaningful if the foreign data is a metafile. The value indicates the horizontal extent of the me
ExtentYfloatThis attribute is only meaningful if the foreign data is a metafile. The value indicates the vertical extent of the meta
CompressionTypeintThis attribute is only meaningful if the foreign data is a raster-based foreign object, such as a DIB, JPG, PNG, TIFF, o
CompressionLevelfloatThis attribute is only meaningful if the foreign data is a raster-based foreign object, such as a DIB, JPG, PNG, TIFF, o
Valuebyte[]Contains a MIME (Multipurpose Internet Mail Extensions) encoded BLOB of picture data, such as Windows metafile, bitmap,
ObjectSourceFullNameStringReturns the source full name of the source file for the linked OLE object. Only supports setting the source full name wh

Methods

NameDescription
deepCloneCreates deep copy of this instance.