PrizmControl Object : InitialNewStampAnnotationTextStyle Property |
Visual Basic |
---|
Public Property InitialNewStampAnnotationTextStyle As Font |
The default value is 12-point Courier New.
Set this property in the Object/Embed tag or during the OnInitialize event.
The scope of this property depends on where it is set. For more information, see the Initial Property Scope topic.
Here is VBScript code snippit showing how to get, change, and set a text style using the Prizm Viewer scripting interface:
Note: VBScript is no longer supported as of Internet Explorer 11.
<SCRIPT language=VBscript>
<!--
...
Private Sub prizm_OnInitialize
...
Dim f
set f = prizm.InitialNewStampAnnotationTextStyle
f.Weight = 700
f.Name = "Freestyle Script"
f.Size = 24
set prizm.InitialNewStampAnnotationTextStyle = f
...
-->
</SCRIPT>
</HEAD>
<BODY>
...
<OBJECT ID="prizm" CLASSID="CLSID:7A2633F0-33D5-4F5E-93BE-74ACBEE7F7EA" height="200" width="500" >
</OBJECT>
...