Message 1 of 11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I want to hide the selected value and add text instead. this code changes all values. can you help me ?
Dim doc As DrawingDocument = ThisDoc.Document
Dim sheet As Sheet = doc.ActiveSheet
' Clear all DrawingDimensions
For Each drawingDimension As DrawingDimension In sheet.DrawingDimensions
DrawingDimension.HideValue = True
If ((DrawingDimension.Text.FormattedText = "<DimensionValue/>") Or
(String.IsNullOrEmpty(DrawingDimension.Text.FormattedText))) Then
DrawingDimension.Text.FormattedText = ""
End If
Next
Solved! Go to Solution.