Class ForeignData

ForeignData class

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

public class ForeignData

Properties

NameDescription
CompressionLevel { get; set; }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.
CompressionType { get; set; }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.
ExtentX { get; set; }This attribute is only meaningful if the foreign data is a metafile. The value indicates the horizontal extent of the metafile.
ExtentY { get; set; }This attribute is only meaningful if the foreign data is a metafile. The value indicates the vertical extent of the metafile.
ForeignType { get; set; }Data type.
ImageData { get; set; }Represents image of ole object as byte array.
MappingMode { get; set; }This attribute is only meaningful if the foreign data is a metafile. The value indicates the metafile mapping mode.
ObjectData { get; set; }Represents embedded ole object data as byte array.
ObjectHeight { get; set; }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.
ObjectSourceFullName { get; set; }Returns the source full name of the source file for the linked OLE object.
ObjectType { get; set; }If the ForeignType attribute is “Object”, the ForeignData element must also have an ObjectType attribute.
ObjectWidth { get; set; }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.
ShowAsIcon { get; set; }This attribute is only meaningful if the foreign data is an OLE2 embedded object.
Value { get; set; }Contains a MIME (Multipurpose Internet Mail Extensions) encoded BLOB of picture data, such as Windows metafile, bitmap, or OLE data.

Methods

NameDescription
Clone()Creates deep copy of this instance.

See Also