GIRasterImage Class

Represents the available types of BSP information to visualize with the BSP diagnostic mode.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    Teigha.RuntimeDisposableWrapper
      Teigha.RuntimeRXObject
        Teigha.GraphicsInterfaceGIRasterImage
          Teigha.GraphicsInterfaceGIRasterImageDesc

Namespace: Teigha.GraphicsInterface
Assembly: TD_Mgd (in TD_Mgd.dll) Version: 26.9.0.0
Syntax
public class GIRasterImage : RXObject

The GIRasterImage type exposes the following members.

Constructors
  Name Description
Protected method GIRasterImage Constructor for the GIRasterImage class.
Top
Properties
  Name Description
Public property AutoDelete Property that indicates whether the object should be automatically deleted by the Garbage Collector.
(Inherited from DisposableWrapper)
Public property ColorDepth Property that represents the number of bits per pixel used for colors by this GIRasterImage object.
Public property imageSource Property that represents the source of a raster image.
Public property ImgTransparencyMode Property that represents the transparency mode for 32bpp formats.
Public property IsDisposed Property that indicates whether pointer to native code unmanaged object == IntPtr::Zero.
(Inherited from DisposableWrapper)
Public property NumColors Property that represents the number of colors in the palette of this GIRasterImage object.
Public property PaletteDataSize Property that represents the size (in bytes) of the palette data of this GIRasterImage object.
Public property PixelHeight Property that represents image height in pixels of this GIRasterImage object.
Public property PixelWidth Property that represents image width in pixels of this GIRasterImage object.
Public property ScanLinesAlignment Property that represents the scanline alignment in bytes for this GIRasterImage object. For example, this property is 4 for Windows BMP.
Public property ScanLineSize Property that represents the scanline size of this GIRasterImage object. Scanline size is a number of bytes between the beginning of the scanline N and the beginning of the scanline N+1 (taking into account any padding that is added to the end of the scanline).
Public property TransparentColor Property that represents the index of transparent color in the image.
Public property UnmanagedObject Property that represents a pointer to an unmanaged object.
(Inherited from DisposableWrapper)
Top
Methods
  Name Description
Public methodStatic member CalcBMPScanLineSize Retrieves the size of a single scanline in BMP format for this raster image object.
Public method ChangeImageSource Sets a new image source and returns a handle to this raster image.
Public method ChangeTransparencyMode Sets the transparency mode for 32bpp formats and returns a handle to this raster image.
Public method Clone Creates a *clone* of this object, and returns a pointer to the *clone*.
(Inherited from RXObject)
Public method CompareTo Allows classes to compare class objects.
(Inherited from RXObject)
Public method Convert(Boolean) Converts the palette of this image to RGB (if convertPaletteToRGB is set to true) and returns a handle to the converted image.
Public method Convert(Boolean, Double) Converts this raster image according to the specified parameters and returns a handle to the converted image.
Public method Convert(Boolean, Double, Double) Converts this raster image according to the specified parameters and returns a handle to the converted image.
Public method Convert(Boolean, Double, Double, Double) Converts this raster image according to the specified parameters and returns a handle to the converted image.
Public method Convert(Boolean, Double, Double, Double, Color) Converts this raster image according to the specified parameters and returns a handle to the converted image.
Public method Convert(Boolean, Double, Double, Double, Color, Boolean, Boolean) Converts this raster image according to the specified parameters and returns a handle to the converted image.
Public method Convert(Boolean, Double, Double, Double, Color, Boolean, Boolean, Boolean) Converts this raster image according to the specified parameters and returns a handle to the converted image.
Public method Convert(Boolean, Double, Double, Double, Color, Boolean, Boolean, Boolean, GIRasterImage) Converts this raster image according to the specified parameters and returns a handle to the converted image.
Public method CopyFrom Copies the contents of the specified object into this object.
(Inherited from RXObject)
Public method CreateObjRef
(Inherited from MarshalByRefObject)
Public method Crop Crops this raster image using a rectangle and returns a handle to this raster image. The format of the returned raster image is identical to the format of the source raster image.
Public method DefaultResolution Retrieves the default image resolution in pixels per unit of this GIRasterImage object.
Protected method DeleteUnmanagedObject
(Overrides RXObjectDeleteUnmanagedObject)
Public method Dispose
(Inherited from DisposableWrapper)
Protected method Dispose(Boolean)
(Inherited from DisposableWrapper)
Public method Equals Checks objects for equality.
(Inherited from DisposableWrapper)
Protected method Finalize
(Inherited from DisposableWrapper)
Public method getColor Retrieves the color for the specified index from the palette of this raster image object.
Public method GetHashCode Retrieves the object hash code.
(Inherited from DisposableWrapper)
Public method GetLifetimeService
(Inherited from MarshalByRefObject)
Public method GetMetaObject
(Inherited from RXObject)
Public method GetRXClass Gets a class describing instance dynamically associated with this object as the OdRxClass object.
(Inherited from RXObject)
Public method GetType
(Inherited from Object)
Public method InitializeLifetimeService
(Inherited from MarshalByRefObject)
Protected method MemberwiseClone
(Inherited from Object)
Protected method MemberwiseClone(Boolean)
(Inherited from MarshalByRefObject)
Public method PaletteData Retrieves the palette in BMP format of this raster image object.
Public method pixelFormat Retrieves the pixel format for this raster image object, unless there is no palette, in which case it returns the pixel format of the image itself.
Public method QueryX Checks whether the object belongs to the specified class and returns a pointer to this object if this object can be converted to the specified class.
(Inherited from RXObject)
Public method ScanLines Retrieves the set of scanlines in BMP format from this raster image object.
Public method ScanLines(Int32, Int32) Retrieves the specified set of scanlines in BMP format from this raster image object.
Public method ToString
(Inherited from Object)
Public method X Checks whether the object belongs to the specified class and returns a pointer to this object if this object can be converted to the specified class, or throws an exception if it cannot.
(Inherited from RXObject)
Top
See Also

©  Bricsys NV. All rights reserved.