add WdVisible function.