IFilterGetSymbolImage Method
Creates an image of the given symbol
Namespace: PCBI.AutomationAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public static Bitmap GetSymbolImage(
ISymbolLibraryEntry symbol,
int bmpWidth,
int bmpHeight,
Color foreColor,
Color backColor,
bool showInfoLayer,
bool unitMM,
Color infoTextColor
)
Public Shared Function GetSymbolImage (
symbol As ISymbolLibraryEntry,
bmpWidth As Integer,
bmpHeight As Integer,
foreColor As Color,
backColor As Color,
showInfoLayer As Boolean,
unitMM As Boolean,
infoTextColor As Color
) As Bitmap
public:
static Bitmap^ GetSymbolImage(
ISymbolLibraryEntry^ symbol,
int bmpWidth,
int bmpHeight,
Color foreColor,
Color backColor,
bool showInfoLayer,
bool unitMM,
Color infoTextColor
)
static member GetSymbolImage :
symbol : ISymbolLibraryEntry *
bmpWidth : int *
bmpHeight : int *
foreColor : Color *
backColor : Color *
showInfoLayer : bool *
unitMM : bool *
infoTextColor : Color -> Bitmap
- 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
BitmapImage of the symbol