Accusoft NotateXpress 13
PrgSetItemWangType Method
The handle of a layer returned by the CreateLayer method.
The handle of an element returned by the ElementAppend method.
Description
Sets specific Eastman/Wang compatible attributes for a specific to a text element for the specific layer.
Syntax
Visual Basic
Public Sub PrgSetItemWangType( _
   ByVal layerHandle As Long, _
   ByVal seqNum As Long, _
   ByVal WangType As NX_WangType _
) 
Parameters
layerHandle
The handle of a layer returned by the CreateLayer method.
seqNum
The handle of an element returned by the ElementAppend method.
WangType
ValueDescription
NX_Wang_NoteNote text type.
NX_Wang_TypedTextTyped text type.
Remarks

A NotateXpress Text annotation can be saved in a Wang-compatible TIFF file as either a TypedText object or as a Note object.

The WangType attribute of a NotateXpress Text object determines how the object will be saved. In addition, setting a Text annotation to a WangType of Note (NX_Wang_Note) will have an immediate affect on the Text object of setting the BackStyle to Opaque, the PenColor to Black, and the PenWidth to 1. Since the Wang type TypedText allows more variations in attributes, setting a Text object to NX_Wang_Typed_Text does not have any immediate affect on the object.

See Also

NotateXpress Object  | NotateXpress Members  | Modifying Existing Annotations

 

 


©2018. Accusoft Corporation. All Rights Reserved.

Send Feedback