IComponentParameters(ComponentLabel, Boolean, Boolean, ComponentPinLabelEnum, Boolean, Boolean, Int32, Color, Boolean, Double, Int32, Color, Color, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Color, Color, Boolean, Color) Constructor
Create an instance of component parameters.
Namespace: PCBI.Automation.DrawingParametersAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public IComponentParameters(
ComponentLabel CMPLabel,
bool ShowPads,
bool ShowPinNumbers,
ComponentPinLabelEnum PinLabel,
bool HighlightFirstPin,
bool MirrorLabels,
int ComponentAlpha,
Color ComponentTextColor,
bool ShowInsertPoint,
double InsertPointUnitFactor,
int PenWidthPX,
Color ComponentColorTop,
Color ComponentColorBot,
bool IgnoreObjectColor,
bool DynamicTextPosition,
bool UseAntiAliasTextRendering,
bool ShowMPNPackageBody,
bool ShowMPNPackagePins,
bool ShowMPNPackagePinLabel,
Color MPNPackageBodyColor,
Color MPNPackagePinColor,
bool HighlightPolarityPin,
Color PolarityPinColor
)
Public Sub New (
CMPLabel As ComponentLabel,
ShowPads As Boolean,
ShowPinNumbers As Boolean,
PinLabel As ComponentPinLabelEnum,
HighlightFirstPin As Boolean,
MirrorLabels As Boolean,
ComponentAlpha As Integer,
ComponentTextColor As Color,
ShowInsertPoint As Boolean,
InsertPointUnitFactor As Double,
PenWidthPX As Integer,
ComponentColorTop As Color,
ComponentColorBot As Color,
IgnoreObjectColor As Boolean,
DynamicTextPosition As Boolean,
UseAntiAliasTextRendering As Boolean,
ShowMPNPackageBody As Boolean,
ShowMPNPackagePins As Boolean,
ShowMPNPackagePinLabel As Boolean,
MPNPackageBodyColor As Color,
MPNPackagePinColor As Color,
HighlightPolarityPin As Boolean,
PolarityPinColor As Color
)
public:
IComponentParameters(
ComponentLabel CMPLabel,
bool ShowPads,
bool ShowPinNumbers,
ComponentPinLabelEnum PinLabel,
bool HighlightFirstPin,
bool MirrorLabels,
int ComponentAlpha,
Color ComponentTextColor,
bool ShowInsertPoint,
double InsertPointUnitFactor,
int PenWidthPX,
Color ComponentColorTop,
Color ComponentColorBot,
bool IgnoreObjectColor,
bool DynamicTextPosition,
bool UseAntiAliasTextRendering,
bool ShowMPNPackageBody,
bool ShowMPNPackagePins,
bool ShowMPNPackagePinLabel,
Color MPNPackageBodyColor,
Color MPNPackagePinColor,
bool HighlightPolarityPin,
Color PolarityPinColor
)
new :
CMPLabel : ComponentLabel *
ShowPads : bool *
ShowPinNumbers : bool *
PinLabel : ComponentPinLabelEnum *
HighlightFirstPin : bool *
MirrorLabels : bool *
ComponentAlpha : int *
ComponentTextColor : Color *
ShowInsertPoint : bool *
InsertPointUnitFactor : float *
PenWidthPX : int *
ComponentColorTop : Color *
ComponentColorBot : Color *
IgnoreObjectColor : bool *
DynamicTextPosition : bool *
UseAntiAliasTextRendering : bool *
ShowMPNPackageBody : bool *
ShowMPNPackagePins : bool *
ShowMPNPackagePinLabel : bool *
MPNPackageBodyColor : Color *
MPNPackagePinColor : Color *
HighlightPolarityPin : bool *
PolarityPinColor : Color -> IComponentParameters
Parameters
- CMPLabel ComponentLabel
- Show the component label with this information (e.g. Reference).
- ShowPads Boolean
- Show pin pads for the component pins.
- ShowPinNumbers Boolean
- The numbers of pins shown? This can also be a string like "A1".
- PinLabel ComponentPinLabelEnum
- Where to get the pin label information?
- HighlightFirstPin Boolean
- Sometimes the first pin is of special interest.
- MirrorLabels Boolean
- Do you need a bottom view? Than you can mirror the labels.
- ComponentAlpha Int32
- The transparency of component.
- ComponentTextColor Color
- Which color should be used to show the text of the component.
- ShowInsertPoint Boolean
- Draw the special highlighter insert point.
- InsertPointUnitFactor Double
- In older formats the insert point unit is not defined in the file, here you can change the unit factor.
- PenWidthPX Int32
- Pixel size of the pen to draw the component outline.
- ComponentColorTop Color
- Color for all top components if they have no own color.
- ComponentColorBot Color
- Color for all bottom components if they have no own color.
- IgnoreObjectColor Boolean
- Ignores the color of single components
- DynamicTextPosition Boolean
- If true, the component/pin labels are centered to the visible area part of the component/pin bounds. If false, the text is centered to the component/pin bounds and could be outside the screen.
- UseAntiAliasTextRendering Boolean
- If true, the component/pin labels are rendered with Antialias
- ShowMPNPackageBody Boolean
- If true, the MPN Package Body is drawn if exists (with MPNPackageBodyColor)
- ShowMPNPackagePins Boolean
- If true, the MPN Package Pins are drawn if exists (with MPNPackagePinColor)
- ShowMPNPackagePinLabel Boolean
- If true, the MPN Package Pin Labels are drawn if exists (with MPNPackagePinColor)
- MPNPackageBodyColor Color
- Color for MPN Package Bodys
- MPNPackagePinColor Color
- Color for MPN Package Pins
- HighlightPolarityPin Boolean
- Highlight the Polarity Pin of a Component
- PolarityPinColor Color
- Color of the Polarity Pin