Accusoft Prizm Viewer Control v10.0
InitialNewStampAnnotationTextStyle Property
Description
Gets and sets the font for new stamp annotations.
Property Type
Read-write property
Syntax
Visual Basic
Public Property InitialNewStampAnnotationTextStyle As Font
Return Type
A Font which represents the text style.
Remarks

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.

Example

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>
...

See Also

PrizmControl Object  | PrizmControl Members  | InitialNewTextAnnotationTextColor Property

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback