IStepGetBitmap(IDrawingParameters, RectangleF, Int32, Int32, RectangleF, CancellationToken) 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(
	IDrawingParameters setting,
	RectangleF DetailRectangle,
	int Width,
	int Height,
	out RectangleF DrawnRectangle,
	CancellationToken cancelToken
)

Parameters

setting  IDrawingParameters
Parameter-Set
DetailRectangle  RectangleF
The choosen area in mils.
Width  Int32
The destination width.
Height  Int32
The destination height.
DrawnRectangle  RectangleF
Real drawn rectangle
cancelToken  CancellationToken
Taken to Cancel Drawing

Return Value

Bitmap
Bitmap

See Also