ActiveX - Printing a Daisy Chart
One of the main uses of Daisy working under control of another program is to print Daisy Charts of data in the background.
This is done for example in the Daisy Example Viewer using the third button in the stack.

The simplified code from the Viewer corresponding to the Print button is shown :-
Dim wrkError As String
Dim wrkPath As String
Dim wrkTemplate As String
'
' Setup the menus, toolbars and status
Daisy.miniHelpVisible = True
Daisy.MenuRightClickEnabled = False
Daisy.MenuEnabled = False
Daisy.ToolbarMainVisible = False
Daisy.StatusVisible = False
'
' Setup chart size
Daisy.ChartSize = dsxPrinterPortrait
'
' Load the database
wrkPath = ...
If (Daisy.LoadDatabaseCSV(wrkPath, wrkError) = False) Then
Daisy.MessageError wrkError
Daisy.UnloadDaisy
Set Daisy = Nothing
Exit Sub
End If
'
' Load the template and draw the Daisy Chart
wrkTemplate = ...
If (Daisy.LoadTemplate(wrkTemplate, True, wrkError) = False) Then
Daisy.MessageError wrkError
Daisy.UnloadDaisy
Set Daisy = Nothing
Exit Sub
End If
'
' Print Chart
Daisy.MenuPrintChart
Daisy.MenuDatabaseClose
Daisy.UnloadDaisy
Set Daisy = Nothing
...
Note :-