Accusoft NotateXpress 12
UserFontSelect Method
See Also  Send comments on this topic.
layerHandle
The handle of a layer returned by the CreateLayer method.
Tool
hWndOwner
Owner window for the Font dialog (may be NULL).
AccusoftNotateXpress12 ActiveX DLL > NotateXpress Object : UserFontSelect Method

Glossary Item Box

Description

Displays the standard system font dialog to allow the user to select a font.

Syntax

Visual Basic
Public Function UserFontSelect( _
   ByVal layerHandle As Long, _
   ByVal Tool As NX_AnnotationTool, _
   ByVal hWndOwner As Long _
) As Boolean

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.
hWndOwner
Owner window for the Font dialog (may be NULL).

Return Type

True if user selected new font

False if canceled or an error

Remarks

The specified attribute must be for a font and the attribute must be valid for the tool.

See Also

©2013. Accusoft Corporation. All Rights Reserved.