InterfacePictureLayer Interface

The IPictureLayer include this interface to give user the option to create unit tests and be flexible in your own code by using other objects instead of IPictureLayer.

Definition

Namespace: PCBI.Automation.Interfaces
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public interface InterfacePictureLayer : InterfaceODBLayer, 
	InterfaceLayer
Implements
InterfaceLayer, InterfaceODBLayer

Properties

AlphaValue Get or set the transparent value for the image.
Col Layer color.
(Inherited from InterfaceLayer)
ImageTransformationMatrix Get or Set the matrix that transform the image.
LayerName Property for layer name (only get).
(Inherited from InterfaceODBLayer)
PathOfImage Get the image path on disk.
PixeDataFormat The pixel format of the image.
PixelDataHeight The width of the image.
PixelDataPointer An IntPtr to the pixel data of the image.
PixelDataStride The stride of the pixel data of the image.
PixelDataWidth The height of the image.
ShowInLayerList You can activate or deactivate the layer for layerlist.
(Inherited from InterfaceLayer)

Methods

AddObject(InterfaceObjectSpecificsD) Adds a object to this layer. Attention: The shape indices of lines, arcs and pads are taken from the symbol table of this layer. To ensure the right symbol you may have to create the symbol on this layer and update the shape index first.
(Inherited from InterfaceODBLayer)
AddObject(IObjectSpecificsD) Adds a object to this layer. Attention: The shape indices of lines, arcs and pads are taken from the symbol table of this layer. To ensure the right symbol you may have to create the symbol on this layer and update the shape index first.
(Inherited from InterfaceODBLayer)
AOIHighResolutionBMPExport(String, RectangleF, Boolean, Int32) Works only with extra licence! Creates a high resolution Bitmap from the clipping Rectangle and save it.
(Inherited from InterfaceODBLayer)
AOIHighResolutionBMPExport(String, Size, RectangleF, Boolean) Works only with extra licence! Creates a high resolution Bitmap from the clipping Rectangle and save it. It expand the area if the aspect ratio have other
(Inherited from InterfaceODBLayer)
AOIHighResolutionBMPExport(String, RectangleF, Boolean, Int32, Boolean) Works only with extra licence! Creates a high resolution Bitmap from the clipping Rectangle and save it.
(Inherited from InterfaceODBLayer)
CalculateArea Calculate the area of this layer.
(Inherited from InterfaceODBLayer)
CalculateLayerBounds Check all objects on the layer and calculates the bounds new.
(Inherited from InterfaceODBLayer)
CreateLayerNetList Creates the net numbers of this layer with a reset first. The result is written in LayerNetNumber of each IODBObject of this layer.
(Inherited from InterfaceODBLayer)
DisableLayer Deactivate the layer and remove it from drawing list.
(Inherited from InterfaceLayer)
EnableLayer Enable layer for drawing. The layer get a layer color for draw it's elements and will be marked in layerlist.
(Inherited from InterfaceLayer)
FitToRectangle Fit the image to the given rectangle. This scales the matrix in such a way it have to be to let the image exactly fit in the rectangle.
FloodLayer(InterfacePCBIWindow, Double, Double, Double, Double, Double) Flood layer with surfaces, this use pcb outline for edge.
(Inherited from InterfaceODBLayer)
FloodLayer(IPCBIWindow, Double, Double, Double, Double, Double) Flood layer with surfaces, this use pcb outline for edge.
(Inherited from InterfaceODBLayer)
GetAllLayerObjects All objects of this layer.
(Inherited from InterfaceLayer)
GetAllObjectInRectangle Get all objects in rectangle.
(Inherited from InterfaceLayer)
GetAllObjectsOnPosition Returns all objects on the point.
(Inherited from InterfaceODBLayer)
GetBoundsD Layer bounds in mils.
(Inherited from InterfaceLayer)
GetElementCount Count of all elements.
(Inherited from InterfaceLayer)
GetHashCode Override the hashcode to compare more instances from one Element.
(Inherited from InterfaceODBLayer)
GetLayerImage Get the original image used by this picture layer. This method use a clone to give you no reference to the internal image, the image is a shadow copy if you dispose the original image before you use the new image it will be cleared too.
GetLayerName Name of this layer.
(Inherited from InterfaceLayer)
GetNetNames key = int, value = string
(Inherited from InterfaceODBLayer)
GetNetNumber Returns the local net number from a netname.
(Inherited from InterfaceODBLayer)
GetNotesOnLayer Notes of this layer.
(Inherited from InterfaceLayer)
GetOutlineFromShapeIndex Creates a list oj IODBObject to reproduce the outline of an tool.
(Inherited from InterfaceODBLayer)
GetOverlayColor Color for location.
(Inherited from InterfaceLayer)
GetOverlayPixelValue Ask internal list to get the relevant value on the X/Y location.
(Inherited from InterfaceLayer)
GetPolygonizeLayerObjects Create polygonized objects for all layerobjects
(Inherited from InterfaceODBLayer)
GetPolygonOutlineFromShapeIndex Create IPolyClass outline form shape index.
(Inherited from InterfaceODBLayer)
GetShapeIndexFromSymbolName Check Symbol exists and search for the index, if no symbol found it returns -1.
(Inherited from InterfaceODBLayer)
GetSpecialSymbolElements Check the shape index, if it is a special symbol all elements are returned.
(Inherited from InterfaceODBLayer)
GetSymbolNameFromShapeIndex Returns the ODBString for the ShapeIndex or Empty String
(Inherited from InterfaceODBLayer)
GetSymbolStringFromShapeIndex Returns the ODBString for the ShapeIndex or Empty String
(Inherited from InterfaceODBLayer)
GetTextLines(InterfaceODBObject) Create a list of Lines in structure of the Text. E.G. a X contains two lines, one from left down to right up and one from left up to right down. Attention: The Text is not added to the layer, you have to SetSpecifics() of each line to add them to this layer!
(Inherited from InterfaceODBLayer)
GetTextLines(IODBObject) Create a list of Lines in structure of the Text. E.G. a X contains two lines, one from left down to right up and one from left up to right down. Attention: The Text is not added to the layer, you have to SetSpecifics() of each line to add them to this layer!
(Inherited from InterfaceODBLayer)
GetTextLines(String, RectangleD) Create a list of Lines in structure of the Text. E.G. a X contains two lines, one from left down to right up and one from left up to right down. Attention: The Text is not added to the layer, you have to SetSpecifics() of each line to add them to this layer!
(Inherited from InterfaceODBLayer)
HasOverlay Is overlay used for this layer?
(Inherited from InterfaceLayer)
HatchObject(InterfacePolyClass, PatternHatch, Double, Double, Boolean) Hatch a object with the special pattern.
(Inherited from InterfaceODBLayer)
HatchObject(IPolyClass, PatternHatch, Double, Double, Boolean) Hatch a object with the special pattern.
(Inherited from InterfaceODBLayer)
Mirror Mirror the image of the picture layer.
MirrorX Mirror in X direction.
(Inherited from InterfaceLayer)
MirrorY Mirror in Y direction.
(Inherited from InterfaceLayer)
MoveLayer(PointD) Move all elements on this layer.
(Inherited from InterfaceLayer)
MoveLayer(PointF) Move all elements on this layer.
(Inherited from InterfaceLayer)
Oversize Oversize or undersize the layer, with option for only selected and values in percentage.
(Inherited from InterfaceODBLayer)
PolygonizeCuttedObjectsOnLayer Removes negative objects on the layer by polygonizing cutted objects, so that the result looks same, but without negatives objects.
(Inherited from InterfaceODBLayer)
PolygonizeLayer All layer objects will be checked for overlapping, than they are conected to new objects. You get many new surfaces if there are overlapping of objects on the layer.
(Inherited from InterfaceODBLayer)
PolygonizeLayer(Double) All layer objects will be checked for overlapping, than they are conected to new objects. You get many new surfaces if there are overlapping of objects on the layer.
(Inherited from InterfaceODBLayer)
PolygonizeLayer(Double, Boolean) All layer objects will be chacked for overlapping, than they are conected to new objects. You get many new surfaces if there are overlapping of objects on the layer. This removes all other elements from the layer!
(Inherited from InterfaceODBLayer)
PolygonizeNets Polygonizes all overlapping Objects to one polygon. The 'Tag' is the first IODBObject of the chain.
(Inherited from InterfaceODBLayer)
RemoveAllObjects Removes all objects on this layer (no Undo)
(Inherited from InterfaceODBLayer)
RemoveObject(InterfaceODBObject, Boolean, Boolean) Remove one IODBObject from the layer and delete the included data.
(Inherited from InterfaceODBLayer)
RemoveObject(IODBObject, Boolean, Boolean) Remove one IODBObject from the layer and delete the included data.
(Inherited from InterfaceODBLayer)
RemoveObjects(ListInterfaceODBObject) Removes a list of objects (no Undo)
(Inherited from InterfaceODBLayer)
RemoveObjects(ListIODBObject) Removes a list of objects (no Undo)
(Inherited from InterfaceODBLayer)
ResetFreeText Reset all free texts on this layer.
(Inherited from InterfaceODBLayer)
ResetNetNumbers Reset the generated net numbers. This is only for layer net numbers who are calculated by PCB-Investigator. Net numbers from the data are saved in PCB-NetNumbers and never modified.
(Inherited from InterfaceODBLayer)
Rotate Rotate the image of the picture layer.
RotateLayer(Boolean) Rotate all elements on this layer.
(Inherited from InterfaceLayer)
RotateLayer(Double) Rotate the layer by the specified angle (degree).
(Inherited from InterfaceODBLayer)
SaveLayerAsCatia saves the layer as catia script
(Inherited from InterfaceLayer)
SaveLayerAsDXF Export a dxf file with all elements of this layer.
(Inherited from InterfaceLayer)
SaveLayerAsGerber Save all layerobjects as gerberfile to the fullPath location.
(Inherited from InterfaceODBLayer)
Scale Scale the image in x and y directions.
SetNetNumber Set the net number from a specific net.
(Inherited from InterfaceODBLayer)
SetOverlayAlpha Transparence of the layer image.
(Inherited from InterfaceLayer)
SetOverlayImage Overlay image like in physics to show more information on the layer.
(Inherited from InterfaceLayer)
Translate Translate the image by specified offset values.

See Also