Accusoft.NotateXpress13.Net
RequestLayerPassword Event




The RequestLayerPassword event is sent during the loading of an annotation file for all layers that were saved with a password.
Syntax
'Declaration
 
<CategoryAttribute("NotateXpress")>
Public Event RequestLayerPassword As NotateXpress.GetLayerPasswordEventHandler
'Usage
 
Dim instance As NotateXpress
Dim handler As NotateXpress.GetLayerPasswordEventHandler
 
AddHandler instance.RequestLayerPassword, handler
[Category("NotateXpress")]
public event NotateXpress.GetLayerPasswordEventHandler RequestLayerPassword
[Category("NotateXpress")]
public: __event NotateXpress.GetLayerPasswordEventHandler* RequestLayerPassword
[Category("NotateXpress")]
public:
event NotateXpress.GetLayerPasswordEventHandler^ RequestLayerPassword
Event Data

The event handler receives an argument of type GetLayerPasswordEventArgs containing data related to this event. The following GetLayerPasswordEventArgs properties provide information specific to this event.

PropertyDescription
LayerNameGets the layer name of the layer that needs a password.  
LayerPasswordSETS the password for the current layer.  
Remarks

If the correct password is returned from this event, the layer is decrypted and available for display.

The layer is discarded if an incorrect password is supplied.

The LayerName parameter supplied with the event is the name (if any) set as the name of this layer.

To set the correct password, modify the passed LayerPassword parameter.

See Also

Reference

NotateXpress Class
NotateXpress Members

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback