YAMP.SubplotFunction.Function C# (CSharp) Method

Function() private method

private Function ( ScalarValue rows, ScalarValue columns ) : SubPlotValue
rows ScalarValue
columns ScalarValue
return SubPlotValue
        public SubPlotValue Function(ScalarValue rows, ScalarValue columns)
        {
            var r = rows.GetIntegerOrThrowException("rows", Name);
            var c = columns.GetIntegerOrThrowException("columns", Name);
            var subplot = new SubPlotValue();
            subplot.Rows = r;
            subplot.Columns = c;
            return subplot;
        }