I am already able to access the path to the Font file in my dll. I just need to pass the data to a Font field . Here is how I access the path and Font data in my dll.
Assembly myAssembly = Assembly.GetExecutingAssembly();
Stream myStream = myAssembly.GetManifestResourceStream(myAssembly.GetName().Name + ".Resources.Awesomefont.ttf');
//Font font = ?
from that point on how do i assign it to `font`
If i even have to create a byte array from `myStream` then i already can do that . I still cant pass it to the Font field `font`
thanks for any help
↧