Accusoft NotateXpress 12
ElementSetType Method
See Also  Send comments on this topic.
elementHandle
The handle of an element returned by the ElementCreate method.
ToolType
AccusoftNotateXpress12 ActiveX DLL > NotateXpress Object : ElementSetType Method

Glossary Item Box

Description

Sets the type of an existing element.  This controls what annotation type the element will turn into such as Ruler, Rectangle, Stamp, Image, etc.

Syntax

Visual Basic
Public Sub ElementSetType( _
   ByVal elementHandle As Long, _
   ByVal ToolType As NX_AnnotationTool _
) 

Parameters

elementHandle
The handle of an element returned by the ElementCreate method.
ToolType
ValueDescription
NX_BlockHighlightTool(&H100C) - BlockHighlight tool.
NX_ButtonTool(&H100A) - Button tool.
NX_EllipseTool(&H1003) - Ellipse tool.
NX_FreehandTool(&H1007) - Freehand Tool.
NX_ImageTool(&H1009) - Image tool.
NX_LineTool(&H1006) - Line Tool.
NX_NoteTool(&H100D) - Note tool.
NX_NoTool(&H0000) - Disables annotation.
NX_PointerTool(&H1000) - Selection tool.
NX_PolygonTool(&H1004) - Polygon Tool.
NX_PolyLineTool(&H1005) - PolyLine Tool.
NX_ProtractorToolProtractor
NX_RectangleTool(&H1002) - Rectangle tool.
NX_RulerTool(&H100B) - Ruler tool.
NX_StampTool(&H1008) - Stamp tool.
NX_TextTool(&H1001) - Text tool.

Remarks

The tool type determines which of the element attributes are used when appending a new annotation.

See Also

©2013. Accusoft Corporation. All Rights Reserved.