ForeignData Class
Contains a MIME (Multipurpose Internet Mail Extensions) encoded BLOB of picture data, such as Windows metafile, bitmap, or OLE data.
Inheritance Hierarchy
SystemObject
  Aspose.DiagramForeignData

Namespace: Aspose.Diagram
Assembly: Aspose.Diagram (in Aspose.Diagram.dll) Version: 20.2.0.0 (20.2)
Syntax
public class ForeignData

The ForeignData type exposes the following members.

Properties
  NameDescription
Public propertyCompressionLevel
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 hundreths of a percent.
Public propertyCompressionType
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.
Public propertyExtentX
This attribute is only meaningful if the foreign data is a metafile. The value indicates the horizontal extent of the metafile.
Public propertyExtentY
This attribute is only meaningful if the foreign data is a metafile. The value indicates the vertical extent of the metafile.
Public propertyForeignType
Data type.
Public propertyImageData
Represents image of ole object as byte array.
Public propertyMappingMode
This attribute is only meaningful if the foreign data is a metafile. The value indicates the metafile mapping mode.
Public propertyObjectData
Represents embedded ole object data as byte array.
Public propertyObjectHeight
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.
Public propertyObjectSourceFullName
Returns the source full name of the source file for the linked OLE object.
Public propertyObjectType
If the ForeignType attribute is "Object", the ForeignData element must also have an ObjectType attribute.
Public propertyObjectWidth
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.
Public propertyShowAsIcon
This attribute is only meaningful if the foreign data is an OLE2 embedded object.
Public propertyValue
Contains a MIME (Multipurpose Internet Mail Extensions) encoded BLOB of picture data, such as Windows metafile, bitmap, or OLE data.
Methods
  NameDescription
Public methodClone
Creates deep copy of this instance.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also