setUnits

NewDocumentOptionsApi.setUnits(self, unitType)
Arguments: