IPictureLayer Class

The class for images in ODB++ Jobs

Definition

Namespace: PCBI.Automation
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public class IPictureLayer : IODBLayer, 
	InterfacePictureLayer, InterfaceODBLayer, InterfaceLayer
Inheritance
Object    ILayer    IODBLayer    IPictureLayer
Implements
InterfaceLayer, InterfaceODBLayer, InterfacePictureLayer

Properties

AlphaValue Get or set the transparent value for the image.
Col Set or Get the Color of this Layer.
(Inherited from IODBLayer)
DrawImageAtEnd Change drawing order, default image will draw at the end of active layers.
ImageTransformationMatrix Get or Set the matrix that transform the image.
LayerName Property for layer name (only get).
(Inherited from IODBLayer)
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 Hide or show the layer in layerlist of the main window.
(Inherited from IODBLayer)

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 IODBLayer)
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 IODBLayer)
AddObjects(ListInterfaceObjectSpecificsD, Boolean) Adds a list of objects 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 IODBLayer)
AddObjects(ListIObjectSpecificsD, Boolean) Adds a list of objects 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 IODBLayer)
AOIHighResolutionBMPExport(String, RectangleF, Boolean, Int32) Works only with extra licence! Creates a high resolution Bitmap from the clipping Rectangle and save it.
(Inherited from IODBLayer)
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 IODBLayer)
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 IODBLayer)
CalculateArea Calculate the area of this layer.
(Inherited from IODBLayer)
CalculateLayerBounds Check all objects on the layer and calculates the bounds new.
(Inherited from IODBLayer)
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 IODBLayer)
DisableLayer Make the layer invisible and remove it from the working list
(Inherited from IODBLayer)
EnableLayer Make the layer visible.
(Inherited from IODBLayer)
Equals Determines whether two objects are equal.
(Inherited from IODBLayer)
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.
FlattenSpecialPads Flattens Pads of Special Symbol Shapes
(Inherited from IODBLayer)
FloodLayer(InterfacePCBIWindow, Double, Double, Double, Double, Double) Flood layer with surfaces, this use pcb outline for edge.
(Inherited from IODBLayer)
FloodLayer(IPCBIWindow, Double, Double, Double, Double, Double) Flood layer with surfaces, this use pcb outline for edge.
(Inherited from IODBLayer)
GetAllLayerObjects Gets all objects on this layer.
(Inherited from IODBLayer)
GetAllObjectInRectangle(RectangleD) Returns all objects in the specified rectangle Area.
(Inherited from IODBLayer)
GetAllObjectInRectangle(RectangleF) Returns all objects in the specified rectangle Area.
(Inherited from IODBLayer)
GetAllObjectsOnPosition(PointD) Returns all objects on the point (including step and repeat).
(Inherited from IODBLayer)
GetAllObjectsOnPosition(PointF) Returns all objects on the point (including step and repeat).
(Inherited from IODBLayer)
GetAllObjectsOnPositionInCurrentStep Returns all objects on the point (only in current step).
(Inherited from IODBLayer)
GetBitmap
(Inherited from IODBLayer)
GetBounds Gets the rectangle size which encloses the layer.
(Inherited from IODBLayer)
GetBoundsD Gets the rectangle size which encloses the layer in double values.
(Inherited from IODBLayer)
GetDrillTools Load drill tools for this layer, if it is no drill layer it returns an empty list.
(Inherited from IODBLayer)
GetElementCount Gets count of Elements on this layer
(Inherited from IODBLayer)
GetHashCode Override the hashcode to compare more instances from one Element.
(Inherited from IODBLayer)
GetLayerImage Get the original image used by this picture layer.
GetLayerName Gets the layer name.
(Inherited from IODBLayer)
GetNetNames key = int, value = string
(Inherited from IODBLayer)
GetNetNumber Returns the local net number from a netname.
(Inherited from IODBLayer)
GetNotesOnLayer Get all notes as string on this layer.
(Overrides IODBLayerGetNotesOnLayer)
GetOutlineFromShapeIndex Creates a list oj IODBObject to reproduce the outline of an tool.
(Inherited from IODBLayer)
GetOverlayColor Returns the Overlay color at a certain position
(Inherited from IODBLayer)
GetOverlayPixelValue Returns the value and description of the overlay at a certain world coordinate
(Inherited from IODBLayer)
GetPolygonizeLayerObjects Create polygonized objects for all layerobjects
(Inherited from IODBLayer)
GetPolygonOutlineFromShapeIndex Create IPolyClass outline form shape index.
(Inherited from IODBLayer)
GetShapeIndexFromSymbolName Check Symbol exists and search for the index, if no symbol found it returns -1.
(Inherited from IODBLayer)
GetSpecialSymbolElements Check the shape index, if it is a special symbol all elements are returned.
(Inherited from IODBLayer)
GetSymbolNameFromShapeIndex Returns the ODBString for the ShapeIndex or Empty String
(Inherited from IODBLayer)
GetSymbolStringFromShapeIndex Returns the ODBString for the ShapeIndex or Empty String
(Inherited from IODBLayer)
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 IODBLayer)
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 IODBLayer)
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 IODBLayer)
HasOverlay Returns true if layer has an image overlay
(Inherited from IODBLayer)
HatchObject(InterfacePolyClass, PatternHatch, Double, Double, Boolean) Hatch a object with the special pattern.
(Inherited from IODBLayer)
HatchObject(IPolyClass, PatternHatch, Double, Double, Boolean) Hatch a object with the special pattern.
(Inherited from IODBLayer)
Mirror Mirror the image of the picture layer.
MirrorX Mirrors the layer in X-direction (Mirror on the Y-Axis).
(Inherited from IODBLayer)
MirrorY Mirrors the layer in Y-direction.
(Inherited from IODBLayer)
MoveLayer(PointD) Move the layer to the postition.
(Overrides IODBLayerMoveLayer(PointD))
MoveLayer(PointF) Move the layer to the postition.
(Overrides IODBLayerMoveLayer(PointF))
Oversize Oversize or undersize the layer, with option for only selected and values in percentage.
(Inherited from IODBLayer)
PolygonizeCuttedObjectsOnLayer Removes negative objects on the layer by polygonizing cutted objects, so that the result looks same, but without negatives objects.
(Inherited from IODBLayer)
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 IODBLayer)
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 IODBLayer)
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 IODBLayer)
PolygonizeNets Polygonizes all overlapping Objects to one polygon. The 'Tag' is the first IODBObject of the chain.
(Inherited from IODBLayer)
RemoveAllObjects Removes all objects on this layer (no Undo)
(Inherited from IODBLayer)
RemoveAllObjects(Boolean) Removes all objects on this layer (no Undo)
(Inherited from IODBLayer)
RemoveDoubleElements Remove double elements on current layer.
(Inherited from IODBLayer)
RemoveObject(InterfaceODBObject, Boolean, Boolean) Remove one InterfaceODBObject from the layer and delete the included data.
(Inherited from IODBLayer)
RemoveObject(IODBObject, Boolean, Boolean) Remove one IODBObject from the layer and delete the included data.
(Inherited from IODBLayer)
RemoveObjects(ListInterfaceODBObject) Removes a list of objects (no Undo)
(Inherited from IODBLayer)
RemoveObjects(ListIODBObject) Removes a list of objects (no Undo)
(Inherited from IODBLayer)
RemoveObjects(ListInterfaceODBObject, Boolean) Removes a list of objects (no Undo)
(Inherited from IODBLayer)
RemoveObjects(ListIODBObject, Boolean) Removes a list of objects (no Undo)
(Inherited from IODBLayer)
ResetFreeText Reset all free texts on this layer.
(Inherited from IODBLayer)
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 IODBLayer)
Rotate Rotate the image of the picture layer.
RotateLayer(Boolean) Rotate the layer 90° clockwise or counter-clockwise.
(Inherited from IODBLayer)
RotateLayer(Double) Rotate the layer by the specified angle (degree).
(Inherited from IODBLayer)
SaveLayer 
SaveLayerAsCatia saves the layer as catia script
(Inherited from ILayer)
SaveLayerAsDXF(String) [Obsolete] Saves the layer as dxf file.
(Inherited from IODBLayer)
SaveLayerAsDXF(String, Boolean, Boolean, Double, Boolean, Boolean) [Obsolete] Saves the layer as dxf file.
(Inherited from IODBLayer)
SaveLayerAsGerber(String, Int32, Int32, Boolean, Boolean) Save all layerobjects as gerberfile to the fullPath location.
(Inherited from IODBLayer)
SaveLayerAsGerber(String, Int32, Int32, Boolean, Boolean, Boolean, SpecialSymbolGerberExportEnum, PanelGerberExportEnum) Save all layerobjects as gerberfile to the fullPath location.
(Inherited from IODBLayer)
SaveLayerAsGerber(String, Int32, Int32, Boolean, Boolean, Boolean, SpecialSymbolGerberExportEnum, PanelGerberExportEnum, Boolean, Boolean) Save all layerobjects as gerberfile to the fullPath location.
(Inherited from IODBLayer)
SaveLayerAsGerber(String, Int32, Int32, Boolean, Boolean, Boolean, SpecialSymbolGerberExportEnum, PanelGerberExportEnum, Boolean, Boolean, Boolean) Save all layerobjects as gerberfile to the fullPath location.
(Inherited from IODBLayer)
Scale Scale the image in x and y directions.
ScaleLayer Scales the layer by the given factor Special Symbols will be flattened first
(Inherited from IODBLayer)
SetBitmap Overwrite the image for image layer to have quick updates. Image will be cloned, please dispose yours.
SetNetNumber Set the net number from a specific net.
(Inherited from IODBLayer)
SetOverlayAlpha Set the alpha value (transparency) for the Overlay image
(Inherited from IODBLayer)
SetOverlayImage Sets an overlay image for this layer or removes the image (bmp=null)
(Inherited from IODBLayer)
ToString Returns name of the layer
(Inherited from ILayer)
Translate Translate the image by specified offset values.
TryCombineLinesToArcs Search for line combinations to generate arcs out of them (unflatten arcs).
(Inherited from IODBLayer)
UnflattenLinesToArcs(Boolean) Try to replace line combinations with arcs.
(Inherited from IODBLayer)
UnflattenLinesToArcs(Boolean, Double) Try to replace line combinations with arcs.
(Inherited from IODBLayer)

Extension Methods

See Also