TextFrameDisplay property example
Sub TextFrame_Example()
Dim bShowTextFrame As Boolean
bShowTextFrame = ThisDrawing.preferences.TextFrameDisplay
MsgBox "The TextFrameDisplay property is: " & bShowTextFrame
MsgBox "Changing TextFrameDisplay to: " & Not bShowTextFrame
ThisDrawing.preferences.TextFrameDisplay = Not bShowTextFrame
ThisDrawing.Regen acAllViewports
MsgBox "Changing TextFrameDisplay to: " & bShowTextFrame
ThisDrawing.preferences.TextFrameDisplay = bShowTextFrame
ThisDrawing.Regen acAllViewports
End Sub
© Bricsys NV. All rights reserved. |