IStepGetBitmap(ListILayer, RectangleF, Int32, Int32, Boolean, Boolean) Method

Gets a bitmap for the chosen rectangle area, expands the choosen area if it is too small.

Definition

Namespace: PCBI.Automation
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public Bitmap GetBitmap(
	List<ILayer> Layers,
	RectangleF DetailRectangle,
	int Width,
	int Height,
	bool DrawPCBOutline,
	bool FillPCBOutline
)

Parameters

Layers  ListILayer
All layer to draw.
DetailRectangle  RectangleF
The choosen area in mils.
Width  Int32
The destination width.
Height  Int32
The destination height.
DrawPCBOutline  Boolean
Outline of PCB contour in the image
FillPCBOutline  Boolean
Fill the outline with boardColor

Return Value

Bitmap
Returns a picture form the coosed layers.

Implements

InterfaceStepGetBitmap(ListILayer, RectangleF, Int32, Int32, Boolean, Boolean)

See Also