Message 1 of 4

Not applicable
11-10-2021
01:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello
Anyone have the code, logic, resize arrowheads? Now there is a font that adjusts the font size but the arrow size doesn't change accordingly. this is the code i have
'set active document as drawing document Dim oDoc As DrawingDocument oDoc = ThisApplication.ActiveDocument 'get the active dim style Dim oDStyle As DimensionStyle oDStyle = oDoc.StylesManager.ActiveStandardStyle. _ ActiveObjectDefaults.LinearDimensionStyle 'get current font size Dim sFontSize As String sFontSize = oDStyle.TextStyle.FontSize 'get user input oInput = InputBox("Active Dimesnion Style = " & oDStyle.Name _ & vbLf & vbLf & "Enter a new font size in mm." , "Text height", _ Round(sFontSize / 0.1,3)) 'set font size for dim style oDStyle.TextStyle.FontSize = oInput * 0.1
Solved! Go to Solution.