<ForeignData> element
<ForeignData> element
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
Contains a MIME (Multipurpose Internet Mail Extensions) encoded BLOB of picture data, such as Windows metafile, bitmap, or OLE data.
Syntax
|
Attributes
ForeignType
Required enumeration. May be one of the following values: MetaFile, EnhMetaFile, Bitmap, or Object.
ObjectType
Optional int. If the ForeignType attribute is "Object", then the ForeignData element must also have an ObjectType attribute. The ObjectType attribute is an integer value that may be a sum of the following values.
Value |
Description |
256 |
Linked object |
512 |
Embedded object |
1024 |
Control |
16384 |
OLE2 Named |
32768 |
OLE2 object |
ShowAsIcon
Optional boolean. This attribute is only meaningful if the foreign data is an OLE2 embedded object.
Value |
Description |
0 |
Do not show embedded data as an icon. |
1 |
Show embedded data as an icon. |
ObjectWidth
Optional float. 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.
ObjectHeight
Optional float. 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.
MappingMode
Optional int. This attribute is only meaningful if the foreign data is a metafile. The value indicates the metafile mapping mode.
ExtentX
Optional float. This attribute is only meaningful if the foreign data is a metafile. The value indicates the horizontal extent of the metafile.
ExtentY
Optional float. This attribute is only meaningful if the foreign data is a metafile. The value indicates the vertical extent of the metafile.
Element information
Parent elements: |
|
Child elements: |
None |
See also