IStepGetBitmap(ListILayer, RectangleF, Int32, Int32, Boolean, Boolean, 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 FillBoardOutline,
	bool mirrorComponentLabels,
	bool IgnoreSelection
)

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
FillBoardOutline  Boolean
Fill the outline of PCB?
mirrorComponentLabels  Boolean
Show the Component Info from Component View setup.
IgnoreSelection  Boolean
Ignore Selection of PCB-Investigator, this is default true to draw images without any highlighting.

Return Value

Bitmap
Returns a picture form the coosed layers.

Implements

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

See Also