IPackageSpecificsDGetPackageImage(Int32, Int32, Color, Color, Color, Color, Color, RectangleD, Double, MatrixD, Int32, Int32) Method

Get image of package width specific size and colors.

Definition

Namespace: PCBI.Automation
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public Bitmap GetPackageImage(
	int width,
	int height,
	Color bkgColor,
	Color bodyColor,
	Color bodyFillColor,
	Color textColor,
	Color pinColor,
	out RectangleD drawnArea,
	double InflateSize,
	out MatrixD matrix,
	int bodyPenThickness = 2,
	int pinPenThickness = 2
)

Parameters

width  Int32
Width of image.
height  Int32
Height of image.
bkgColor  Color
Background Color of new image.
bodyColor  Color
Color of package edge of body.
bodyFillColor  Color
Color to fill package body.
textColor  Color
Color of text for packagename and pins.
pinColor  Color
Color of pins.
drawnArea  RectangleD
Returns drawn area in world coordinates
InflateSize  Double
Inflate the visible area around the package.
matrix  MatrixD
used matrix for drawing (out)
bodyPenThickness  Int32  (Optional)
 
pinPenThickness  Int32  (Optional)
 

Return Value

Bitmap
Image of package with current settings.

See Also