Thursday, August 6, 2009

ARIS Scripting: Circles in report

May be I have an IQ in the negative direction, but this took me around 4 hours to figure it out. Trust me you will thank me.

function defineAStatusSymbol(colour){
var aCircle = Context.createPicture();
aCircle.SelectBrush(colour);
aCircle.SelectPen ( Constants.BRDR_NORMAL, 100, Constants.C_BLACK )
temp1 = aCircle.Ellipse ( 0, 0, 50, 50 );
return aCircle;
}

No comments:

Post a Comment