Accusoft NotateXpress 12
CreateLayer Method
See Also  Send comments on this topic.
AccusoftNotateXpress12 ActiveX DLL > NotateXpress Object : CreateLayer Method

Glossary Item Box

Description

Creates a new annotation layer.

Syntax

Visual Basic
Public Function CreateLayer() As Long

Return Type

The handle of the newly created layer. This value is passed back to NotateXpress methods that require a layer handle as a parameter (for example SetCurrentLayer method).

Remarks

The default attributes (DefaultPenColor, DefaultPenWidth, DefaultBackColor, DefaultFillColor, DefaultStampFont, DefaultStampText, DefaultTextColor, DefaultTextFont, DefaultButtonFont, DefaultButtonText, DefaultHighlightBack, and DefaultHighlightFill) are applied to the tools in this layer.

The tool referenced by the DefaultTool property is made the current tool.

Note: NotateXpress must have a valid Client before you can call this method. If there is not current annotation client, this method fails.

See Also

©2013. Accusoft Corporation. All Rights Reserved.