Skip to content

BUG:BiLevel.Threshold #2007

@waydalee

Description

@waydalee

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
Image

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

这是真实案例:


Here is a real-life case:

Image

这是程序的异常信息:


This is the program's exception information

System.FormatException: The input string '50%' was not in a correct format.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions