CardMaker.XML.ProjectLayoutElement.SetElementOutlineColor C# (CSharp) Method

SetElementOutlineColor() public method

Sets the outline color and color string
public SetElementOutlineColor ( Color zColor ) : void
zColor Color The color to pull the values from
return void
        public void SetElementOutlineColor(Color zColor)
        {
            outlinecolor = GetElementColorString(zColor);
            m_colorOutline = zColor;
        }

Usage Example

示例#1
0
 private void SetColorValue(Button btnClicked, Color color, ProjectLayoutElement zElement)
 {
     if (btnClicked == btnElementBorderColor)
     {
         zElement.SetElementBorderColor(color);
     }
     else if (btnClicked == btnElementOutlineColor)
     {
         zElement.SetElementOutlineColor(color);
     }
     else if (btnClicked == btnElementFontColor || btnClicked == btnElementShapeColor)
     {
         zElement.SetElementColor(color);
     }
 }