Click or drag to resize

ImageInformation Class

Information about an image object and his handling example resize
Inheritance Hierarchy
SystemObject
  SIC.OpenDocumentFormatImageInformation

Namespace:  SIC.OpenDocumentFormat
Assembly:  SIC.OpenDocumentFormat (in SIC.OpenDocumentFormat.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax
public class ImageInformation

The ImageInformation type exposes the following members.

Constructors
  NameDescription
Public methodImageInformation
Initializes a new instance of the ImageInformation class. Constructor without parameter
Public methodImageInformation(String)
Initializes a new instance of the ImageInformation class. Constructor with parameter
Top
Properties
  NameDescription
Public propertycx
Returns the width in EMUS (English Metric Units)
Public propertycy
Returns the height in EMUS (English Metric Units)
Public propertyHeightInCm
Sets the height in cm (note this is a user set to calculate cy. Leave blank for the class to calculate the cy based on pixels)
Public propertyHeightInPx
Image height in pixel
Public propertyId
Required to set the image id which needs to be unique in the document which is important if you're adding several images
Public propertyImageFile
Sets the Image file name and loads the Image object for later use
Public propertyImageObject
Allows direct read/write access to the internal Image Object
Public propertyWidthInCm
Sets the width in cm (note this is a user set to calculate cx. Leave blank for the class to calculate the cx based on pixels)
Public propertyWidthInPx
Image width in pixel
Top
Methods
  NameDescription
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 methodResize
Resizes the image and replaces the internal image object ImageObject with the new size
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also