DocumentFormat.OpenXml.Drawing.BiLevel.Threshold属性不应该是int类型,应该是string类型;(50%)
这是官方文档关于该属性的说明:
The property should not be of type int, it should be of type string; (50%) This is the explanation of this property in the official documentation.
https://learn.microsoft.com/zh-cn/dotnet/api/documentformat.openxml.drawing.bilevel?view=openxml-3.0.1

https://learn.microsoft.com/en-us/openspecs/office_standards/ms-oi29500/1c25f0ef-b879-47f0-af0c-b1b0d40f7d05

这是真实案例:
Here is a real-life case:
这是程序的异常信息:
This is the program's exception information
System.FormatException: The input string '50%' was not in a correct format.
DocumentFormat.OpenXml.Drawing.BiLevel.Threshold属性不应该是int类型,应该是string类型;(50%)
这是官方文档关于该属性的说明:
The property should not be of type int, it should be of type string; (50%) This is the explanation of this property in the official documentation.
https://learn.microsoft.com/zh-cn/dotnet/api/documentformat.openxml.drawing.bilevel?view=openxml-3.0.1

https://learn.microsoft.com/en-us/openspecs/office_standards/ms-oi29500/1c25f0ef-b879-47f0-af0c-b1b0d40f7d05

这是真实案例:
Here is a real-life case:
这是程序的异常信息:
This is the program's exception information
System.FormatException: The input string '50%' was not in a correct format.