ILayer Methods

Methods

CalculateLayerBounds Check all objects on the layer and calculates the bounds new.
DisableLayer Make the layer invisible and remove it from the working list
EnableLayer Make the layer visible.
GetAllLayerObjects Gets all objects on the layer.
GetAllObjectInRectangle(RectangleD) Returns all objects in the specified rectangle Area.
GetAllObjectInRectangle(RectangleF) Returns all objects in the specified rectangle Area.
GetAllObjectsOnPosition(PointD) Returns all objects on the point (including step and repeat).
GetAllObjectsOnPosition(PointF) Gets all objects on a point of the layer.
GetAllObjectsOnPositionInCurrentStep Returns all objects on the point (only in current step).
GetBounds Gets the rectangle size which encloses the layer.
GetBoundsD Gets the rectangle size which encloses the layer in double values.
GetElementCount Gets count of Elements on this layer
GetLayerName Gets the layer name.
GetNotesOnLayer all notes on this layer
GetOverlayColor Returns the Overlay color at a certain position
GetOverlayPixelValue Returns the value and description of the overlay at a certain world coordinate
HasOverlay Returns true if layer has an image overlay
MirrorX Mirrors the layer in X-direction.
MirrorY Mirrors the layer in Y-direction.
MoveLayer(PointD) Move the layer to the postition.
MoveLayer(PointF) Move the layer to the postition.
RotateLayer Rotate the layer 90° clockwise or counter-clockwise.
SaveLayerAsCatia saves the layer as catia script
SaveLayerAsDXF saves the layer as dxf file
SetOverlayAlpha Set the alpha value (transparency) for the Overlay image
SetOverlayImage Sets an overlay image for this layer or removes the image (bmp=null)
ToString Returns name of the layer
(Overrides ObjectToString)

Extension Methods

See Also