Sets specific Eastman/Wang compatible attributes for a specific to a text element for the specific layer.
Visual Basic |
---|
Public Sub PrgSetItemWangType( _ ByVal layerHandle As Long, _ ByVal seqNum As Long, _ ByVal WangType As NX_WangType _ ) |
- layerHandle
- The handle of a layer returned by the CreateLayer method.
- seqNum
- The handle of an element returned by the ElementAppend method.
- WangType
Value Description NX_Wang_Note Note text type. NX_Wang_TypedText Typed text type.
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.