public void Expand(ExpandType expandtype) { PrinterServiceFunction function = new Expand(this); function.AddParameter("expandType", expandtype); function.RunFunction(); }