switch to setIntProperty api for setting page margins