使用 Golang 通过 C++ 处理 ContentTypeProperties
Contents
[
Hide
]
Aspose.Cells提供Workbook.ContentTypeProperties.Add方法添加自定义ContentTypeProperties到Excel文件中。你还可以通过设置ContentTypeProperty.IsNillable属性为true,使其成为可选。以下代码展示了如何添加可选的自定义ContentTypeProperties。图片显示了两个已添加的属性。

由示例代码生成的输出文件附在下方以供参考。