Needs some help from the coders.
I'm currently using this code in Visual Basic for Applications to copy/paste the selected reference:
Sub CopyBibleVerses()
Dim launcher As LogosLauncher
Dim app As LogosApplication
Dim cbv As LogosCopyBibleVerses
Dim req As LogosCopyBibleVersesRequest
Dim LogosRef As String
LogosRef = Selection.Text
Set launcher = New LogosLauncher
Set app = launcher.Application
Set cbv = app.CopyBibleVerses
Set req = cbv.CreateRequest
req.Reference = app.DataTypes.GetDataType("bible").ParseReference(LogosRef)
Selection.TypeText Text:=cbv.GetText(req)
End Sub
I need help converting that into C#
Can anyone help with that?
This works to launch:
using Logos4Lib;
LogosLauncher launcher = new LogosLauncher();
launcher.LaunchApplication();
LogosApplication app = launcher.Application;
But I have no idea to enable fetching the bible verse in C# using DataType etc.