GoDigram for .NET Framework and .NET Core
Northwoods.Go.Xml Namespace / GoXmlTransformer Class / ColorArrayAttr Method
the name of the attribute
the default value to return if the attribute is not present or there is a parsing error
In This Topic
    ColorArrayAttr Method
    In This Topic
    Read an attribute's string value as an array of color values.
    Syntax
    public Color[] ColorArrayAttr( 
       string name,
       Color[] def
    )

    Parameters

    name
    the name of the attribute
    def
    the default value to return if the attribute is not present or there is a parsing error

    Return Value

    the result of calling ColorArrayFromString
    See Also