CMPImageData Class

Component Image Data

Definition

Namespace: PCBI
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
[SerializableAttribute]
public class CMPImageData : IDisposable
Inheritance
Object    CMPImageData
Implements
IDisposable

Constructors

CMPImageData Create instance of CMPImageData

Properties

_id Gets or sets the unique identifier for the CMPImageData.
Description Gets or sets the description of the CMPImageData.
DPI Gets the DPI (dots per inch) of the image. Returns 0 if no image is set.
ImageHeight Gets the height of the image in pixels. Returns 0 if no image is set.
ImageWidth Gets the width of the image in pixels. Returns 0 if no image is set.
LastChangeDate Last change date of this mpn package data
Name Gets or sets the unique name of the CMPImageData.
Properties Gets or sets the collection of library entry properties associated with the CMPImageData. Initializes the collection if it is null.

Methods

Clone Clone this image data
Dispose Dispose the image and clear the lists
Draw draw an image of this mpn package data.
GetFitMatrix Creates a matrix to align the image with a worldrect trys different angles (0/90/180/270)
GetImage 
GetPreviewImage 
GetWorldBounds 
SetImage 
SetPreviewImage 
ToString name as string
(Overrides ObjectToString)

See Also