Accusoft NotateXpress 13
SetPenWidth Method
The handle of a layer returned by the CreateLayer method.
Options are from the NX_AnnotationTool enumeration.
The selected tool's pen width in pixels.
Description
Sets the default pen width for a specific tool for a specific layer.
Syntax
Visual Basic
Public Sub SetPenWidth( _
   ByVal layerHandle As Long, _
   ByVal Tool As NX_AnnotationTool, _
   ByVal Width As Long _
) 
Parameters
layerHandle
The handle of a layer returned by the CreateLayer method.
Tool
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.
Options are from the NX_AnnotationTool enumeration.
Width
The selected tool's pen width in pixels.
Remarks
This will effect tools created programmatically or selected from the toolbar.
See Also

NotateXpress Object  | NotateXpress Members  | Defaults

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback