Axiom.Overlays.OverlayElement.MetricsModeAttributeCommand.Set C# (CSharp) Method

Set() public method

Sets the value for this command on the target object.
public Set ( object target, string val ) : void
target object
val string
return void
			public void Set( object target, string val )
			{
				var element = target as OverlayElement;
				if ( element != null )
				{
					element.MetricsMode = (MetricsMode)ScriptEnumAttribute.Lookup( val, typeof( MetricsMode ) );
				}
			}
OverlayElement.MetricsModeAttributeCommand