填写详细地址
AddressField.IsDetailedAddress(属性)
说明
可读写
地址字段是否需要填写详细地址
返回值
Boolean
浏览器环境示例
javascript
async function example() {
await instance.ready();
const Application = instance.Application;
const fieldDescriptor = await Application.Sheets("数据表").FieldDescriptors("@地址")
const prop = await fieldDescriptor.Address
prop.IsDetailedAddress = false
fieldDescriptor.Apply()
}
脚本编辑器 示例
javascript
function main() {
const fieldDescriptor = Application.Sheets("数据表").FieldDescriptors("@地址")
const prop = fieldDescriptor.Address
prop.IsDetailedAddress = false
fieldDescriptor.Apply()
}
main()