Gets the global default attribute for a specific tool.
Visual Basic |
---|
Public Sub GetToolDefaultAttribute( _ ByVal Tool As NX_AnnotationTool, _ ByVal Attribute As Long, _ ByRef pValue As Long _ ) |
- Tool
Value Description 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_ProtractorTool Protractor NX_RectangleTool (&H1002) - Rectangle tool. NX_RulerTool (&H100B) - Ruler tool. NX_StampTool (&H1008) - Stamp tool. NX_TextTool (&H1001) - Text tool. - Attribute
- A valid attribute chosen from NX_AnnotationAttribute for the given tool
- pValue
- The address of a long to receive the value of the attribute.
This controls global defaults. It can be overridden by using any of the layer defaults calls.
This will effect tools created programmatically or selected from the toolbar.
See the Attribute Matrix for more detailed attribute information.