IFilterGetSymbolImage Method

Creates an image of the given symbol

Definition

Namespace: PCBI.Automation
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public static Bitmap GetSymbolImage(
	ISymbolLibraryEntry symbol,
	int bmpWidth,
	int bmpHeight,
	Color foreColor,
	Color backColor,
	bool showInfoLayer,
	bool unitMM,
	Color infoTextColor
)

Parameters

symbol  ISymbolLibraryEntry
Symbol to draw
bmpWidth  Int32
Img width
bmpHeight  Int32
Img height
foreColor  Color
ForeColor
backColor  Color
BackColor
showInfoLayer  Boolean
Label the size into the drawn objects
unitMM  Boolean
Unit of the size is metric
infoTextColor  Color
Color of the label text

Return Value

Bitmap
Image of the symbol

See Also