Sets the value of a specific tool's attribute.
Visual Basic |
---|
Public Sub ToolSetAttribute( _ ByVal Tool As enumIXTool, _ ByVal Attribute As enumIXToolAttr, _ ByVal nValue As Long _ ) |
- Tool
An enumIXTool value to which to assign the attribute.Value Description TOOL_Hand Image panning tool. TOOL_Mag Magnifying window. TOOL_MouseWheelHorizScroll Mouse wheel horizontal scroll. TOOL_MouseWheelVertScroll Mouse wheel vertical scroll. TOOL_MouseWheelZoom Mouse wheel zoom. TOOL_None No tool selected. TOOL_Pan Image viewing pan tool. TOOL_Select Rubberband window selection tool. TOOL_ZoomIn Zoom in tool. TOOL_ZoomOut Zoom out tool. TOOL_ZoomRect Zoom rectangle tool. - Attribute
An enumIXToolAttr attribute to assign to the given tool.Value Description TOOLATTR_AllowNotateXpressToDisplayTooltips Allow NotateXpress to display tool-tips. TOOLATTR_MagFactor Magnification factor. TOOLATTR_MagHeight Magnifier height value. TOOLATTR_MagWidth Magnifier width value. TOOLATTR_MinimumArea Minimum area. TOOLATTR_MouseWheelHorizScroll Mouse wheel horizontal scroll. TOOLATTR_MouseWheelVertScroll Mouse wheel vertical scroll. TOOLATTR_MouseWheelZoom Mouse wheel zoom. TOOLATTR_SelectFill Transparent or inverted selections. TOOLATTR_SelectShape Select region shape. TOOLATTR_ZoomInFactor Zoom in factor. TOOLATTR_ZoomOutFactor Zoom out factor. - nValue
- The attribute's new value.