Search Results for

    Show / Hide Table of Contents

    Class SmartColor

    Represents a smart color.

    Inheritance
    System.Object
    SmartObject
    SmartColor
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: TopSolid.Kernel.Automating
    Assembly: cs.temp.dll.dll
    Syntax
    [AvailableSinceVersion(7, 18, 0, 0)]
    public class SmartColor : SmartObject
    Remarks

    This class is available since v7.18.

    Constructors

    SmartColor(Color)

    Initializes a new instance of the SmartColor class.

    Declaration
    public SmartColor(Color inValue)
    Parameters
    Type Name Description
    Color inValue

    The value.

    SmartColor(ElementId)

    Initializes a new instance of the SmartColor class.

    Declaration
    public SmartColor(ElementId inElementId)
    Parameters
    Type Name Description
    ElementId inElementId

    Identifier of providing element.

    SmartColor(ElementId, ItemLabel)

    Initializes a new instance of the SmartColor class.

    Declaration
    public SmartColor(ElementId inElementId, ItemLabel inItemLabel)
    Parameters
    Type Name Description
    ElementId inElementId

    Identifier of providing element.

    ItemLabel inItemLabel

    Label of providing element item, or Empty for none.

    SmartColor(SmartColorType, Color, ElementId, ItemLabel)

    Initializes a new instance of the SmartColor class.

    Declaration
    public SmartColor(SmartColorType inType, Color inValue, ElementId inElementId, ItemLabel inItemLabel)
    Parameters
    Type Name Description
    SmartColorType inType

    Type of smart color.

    Color inValue

    Value of the color.

    ElementId inElementId

    Identifier of providing element, or Empty for none.

    ItemLabel inItemLabel

    Label of providing element item, or Empty for none.

    Fields

    Color

    Value of Color.

    Declaration
    public Color Color
    Field Value
    Type Description
    Color

    ElementId

    Providing element identifier, or empty if none.

    Declaration
    public ElementId ElementId
    Field Value
    Type Description
    ElementId

    ItemLabel

    Providing element item label, or empty if none.

    Declaration
    public ItemLabel ItemLabel
    Field Value
    Type Description
    ItemLabel

    Type

    Type of smart color.

    Declaration
    public SmartColorType Type
    Field Value
    Type Description
    SmartColorType
    In This Article
    • Mentions légales
    • C.G.U
    • Données personnelles

    Copyright © 2024 TopSolid Tous droits réservés