Harness proD API Help
EPLAN.Harness.API.DataStructures.RapidPrototypes Namespace / RapidResistorDefinition Class
Members Example
In This Topic
    RapidResistorDefinition Class
    In This Topic
    Definition of the rapid prototype resistor.
    Object Model
    RapidResistorDefinition ClassLengthProperty Class
    Inheritance Hierarchy

    System.Object
       EPLAN.Harness.API.DataStructures.RapidPrototypes.RapidSpecialComponentDefinition
          EPLAN.Harness.API.DataStructures.RapidPrototypes.RapidResistorDefinition

    Syntax
    public class RapidResistorDefinition : RapidSpecialComponentDefinition 
    Remarks
    Use to create rapid prototype resistor with a different definition than the default definition in the project settings.
    Example
    This example shows how to create resistor definition with custom color, size and pin name prefix.
    RapidResistorDefinition definition = new RapidResistorDefinition();
    
    definition.Color = Color.Aqua;
    definition.PinNamePrefix = "prefix";
    definition.Size = new LengthProperty(10, Unit.Millimeter);
    Public Constructors
     NameDescription
    Public Constructor Create an instance of rapid resistor definition.  
    Top
    Public Properties
     NameDescription
    Public Property Gets or sets pin color of the rapid prototype special component. (Inherited from EPLAN.Harness.API.DataStructures.RapidPrototypes.RapidSpecialComponentDefinition)
    Public Property Gets or sets pin count of the rapid prototype special component. (Inherited from EPLAN.Harness.API.DataStructures.RapidPrototypes.RapidSpecialComponentDefinition)
    Public Property Gets or sets pin name prefix of the rapid prototype special component. (Inherited from EPLAN.Harness.API.DataStructures.RapidPrototypes.RapidSpecialComponentDefinition)
    Public Property Gets or sets size of rapid prototype special component. (Inherited from EPLAN.Harness.API.DataStructures.RapidPrototypes.RapidSpecialComponentDefinition)
    Top
    See Also