Free Support Forum - aspose.com

Get shape prop by name


#41

@susanktuvell

We have further investigated about your requirements. Please use following code snippet to catch ‘No Formula’ value:

if (prop.Type.Ufe.F == "No Formula") {
 // do your work
} 

We regret to share that we may not be able to implement this functionality as;

“No Formula” means that there is no formula in this prop’s value;
such as <Cell N='Type' V='0' F='No Formula'>

And “0” means that the formula of the prop’s value is “0” but it’s type value is 0.
such as <Cell N='Type' V='0' F='" 0"'>

Our other users who are already working with existing enum, may face other issues if we implement this. However, above shared code snippet can fulfill your requirements. In case you have further concerns, please feel free to let us know.


#42

Hi! The
if (prop.Type.Ufe.F == “No Formula”) {
// do your work
}
call would be perfectly fine, however it does not appear to work. I am not able to get inside the condition. Do i need to update my version of the library? I do not see a new release available via NuGet.


#43

Ufe does not seem to update or get any value at all when debugging.


#44

@susanktuvell

We are checking this and will share our feedback with you soon.


#45

@susanktuvell

Would you please try using above shared code snippet with Aspose.Diagram for .NET 19.3 and share your feedback.


#46

The issues you have found earlier (filed as DIAGRAMNET-51614) have been fixed in Aspose.Diagram for .NET 19.3.