AnimationDeveloperSamples.MapGraphicKeyframe.GetText C# (CSharp) Method

GetText() public method

public GetText ( int propIndex, int columnIndex ) : string
propIndex int
columnIndex int
return string
        public string GetText(int propIndex, int columnIndex)
        {
            string text;
            text = null;
            switch (propIndex)
            {
                case 0:
                    {
                        if (columnIndex == 0)
                        {
                            text = System.Convert.ToString(Position.X);
                        }
                        if (columnIndex == 1)
                        {
                            text = System.Convert.ToString(Position.Y);
                        }
                    }
                    break;
                case 1:
                    text = System.Convert.ToString(Rotation);
                    break;
            }
            return text;
        }