DocumentViewer Update GD Picture
This commit is contained in:
@@ -90,14 +90,14 @@ Public Class DocumentViewer
|
||||
''' </summary>
|
||||
''' <param name="pLogConfig">A LogConfig object</param>
|
||||
''' <param name="pLicenseKey">The GDPicture.NET License Key</param>
|
||||
Private Function Init(pLogConfig As LogConfig, pLicenseKey As String, pToolbarSettings As ToolbarSettings) As Boolean
|
||||
Public Function Init(pLogConfig As LogConfig, pLicenseKey As String, pToolbarSettings As ToolbarSettings) As Boolean
|
||||
_logConfig = pLogConfig
|
||||
_logger = pLogConfig.GetLogger()
|
||||
Try
|
||||
|
||||
_email = New Email2(pLogConfig)
|
||||
If pLicenseKey = String.Empty Then
|
||||
_logger.Warn("License key was not provided. File [{0}] not loaded.", FileName)
|
||||
_logger.Warn("License key was not provided during init!")
|
||||
Return False
|
||||
End If
|
||||
_licenseKey = pLicenseKey
|
||||
@@ -115,9 +115,9 @@ Public Class DocumentViewer
|
||||
End Try
|
||||
End Function
|
||||
|
||||
Public Function Init(pLogConfig As LogConfig, pLicenseKey As String) As Boolean
|
||||
Return Init(pLogConfig, pLicenseKey, New ToolbarSettings())
|
||||
End Function
|
||||
'Public Function Init(pLogConfig As LogConfig, pLicenseKey As String, pToolbarSettings As ToolbarSettings) As Boolean
|
||||
' Return Init(pLogConfig, pLicenseKey, New ToolbarSettings())
|
||||
'End Function
|
||||
|
||||
''' <summary>
|
||||
''' Load a file from a path and display it
|
||||
|
||||
Reference in New Issue
Block a user