GdPicture.NET.14
GdPicture14 Namespace / GdViewer Class / SilentMode Property
Example





SilentMode Property (GdViewer)
Indicates, whether error reporting through MessageBox dialogue is disabled or not when loading password-protected or encrypted PDF documents. The MessageBox dialogue will display when a password is needed, when users provide an invalid password or when an encryption error occurs.

Turning this property to false enables error reporting through MessageBox dialogues. If this property is set to true, possible errors are not reported.

Syntax
'Declaration
 
Public Property SilentMode As Boolean
 

Property Value

The default value is true.
Remarks
This property is only meaningful for encrypted PDF documents.
Example
How to utilize this property in your GdViewer control.
'We assume that the GdViewer1 control has been properly integrated.
'Enabling error reporting through built-in MessageBox dialogues.
GdViewer1.SilentMode = False
See Also