Accusoft.NotateXpressSdk Namespace > NotateXpress Class : RequestLayerPassword Event |
'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
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.
Property | Description |
---|---|
LayerName | Gets the layer name of the layer that needs a password. |
LayerPassword | SETS the password for the current layer. |
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.