I have created a .dll file that sets up printing capabilities and now I want to be able to reference the function in my C# code (on a button press)
My .dll is as follows:
using Android.Print;
using System;
using Android.App;
using Android.Content;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
using Android.Graphics;
using Android.Print.Pdf;
using System.IO;
namespace PrintIMPORTteste
{
public class PrintActivity : Activity
{
protected override void OnCreate(Bundle bundle)
{
base.OnCreate(bundle);
SetContentView(Resource.Layout.Print);
var txtview = FindViewById(Resource.Id.textview1);
txtview.Text = "Hello";
var button = FindViewById
↧