ImageGear Professional v18.2 > User Guide > Using ImageGear > Working with Image and ImageGear Information |
All of the ImageGear ActiveX controls and objects have methods and properties that your application program can access to obtain information about ImageGear itself and about your images. The following table lists the more commonly used properties, by control/object.
Control | Property/Method | Usage |
---|---|---|
<all ActiveX controls> | ComponentInfo | Provides information about the ActiveX control itself (build date, version number, etc.). |
IGCoreCtl Control | ComponentCount GetComponentInfoByName GetComponentInfoByProgID |
Used to locate a particular ActiveX control or COM object, previously associated with IGCoreCtl Control via the AssociateComponent method. |
IGPage Object | BitDepth ImageHeight ImageWidth ImageIsGray IsValid GetDIBInfo GetImagePaletteSize |
Basic information about the image in the IGPage Object. Note that this information will initially be the same as for the image file, but as your application modifies the image (e.g., with IGProcessingCtl Control functions) this will change. |
IGDisplayCtl Control | GetClipboardInfo | Used to determine the type of information in the Windows clipboard (whether it's an image or not). |
IGPageDisplay Object | ConvertCoordinates ConvertPointCoordinates GetAdjustedDeviceRect |
Used to convert (x,y) coordinates from one coordinate system to another (e.g., to convert from image-coordinates to display-coordinates). |
IGFormatsCtl Control | DetectImageFormat GetDocumentInfo GetPageCount GetPageInfo |
Used to obtain information about a file on disk (e.g., is it an image file, what format is it). |
IGFormatsCtl Control .Settings | GetCompressions GetCompressionsForPage |
Used to obtain an IGCompressionsInfo Object, which describes the capabilities of a particular compression scheme. |
IGFormatsCtl Control .Settings | Format(i) FormatCount GetFormatRef(id) |
Used to obtain an IGFormatParams Object, which describes the capabilities of a particular image file format |
IGProcessingCtl Control | TabulateHistogram() |
Used to obtain the data that describes how often each color (or grayscale level) occurs in the image. The data can be used for many purposes, including display as a histogram. For example: Image
|
IGMedCtl Control | DataDict | The DICOM Data Dictionary contains the "schema" of the non-image data in a DICOM file. Your application can add new information to the Data Dictionary (for private DICOM tags, or should the DICOM standard be amended). See MD Component API Reference for more information. |
IGMedPage Object | DataSet | This is the non-image data from the DICOM file. Your application can create a Data Set when it creates a DICOM file, read the Data Set from an existing file, or modify the Data Set in an existing file. See MD Component API Reference for more information. |
IGTwainCtl Control | GetCapability Method |
These methods get information about the capabilities of the TWAIN device. |
IGTwainCtl Control | GetDSInfo Method | Gets the list of available TWAIN Data Sources. |
IGTwainCtl Control | GetTWAINInfo Method | Gets the version information for the TWAIN Data Source Manager. |
IGGUIDlgCtl Control | Directory | This is the name of the directory chosen by the user when open_Dir is called. It is also the starting-point directory used by open_File and save_File. |
IGGUIDlgCtl Control | FileName PageNum SaveFormat SaveMode |
These are the values chosen by the user when open_File and save_File are called. They are the values needed to call LoadPageFromFile Method and SavePageToFile Method, respectively. |