Feel free to ignore everything posted here. Reflector has a switch, /fontsize:14 that would do the samething. The moral of the story, as always, is that I'm an idiot. I'll leave this posted so people can point and laugh at me.
As a trainer, reflector is obviously a TREEEEmendous tool to have at your disposal. The problem? 8.25ft on a projector generally doesn't go over well. I've used those zoom-in tools in the past, but with the release of the 4.0 release of reflector I decided to get off my butt and knock out an add-in to bump up the font. So, I present to you, the most ghetto add-in for reflector ever, FontPackage. There are somethings to keep in mind:
- The GotDotNet workspaces were running WAY to slow for me to figure out if there is better info out there on writing an add-in, so I just kinda winged it.
- I use Lucida Console, 14pt for everything. If you want to customize the font for each window, knock yourself out.
So here it is, in all it's glory:
Public Class FontPackage
Private windowManager As Reflector.IWindowManager
Public Sub Load(ByVal serviceProvider As System.IServiceProvider) Implements Reflector.IPackage.Load
windowManager = serviceProvider.GetService(GetType(Reflector.IWindowManager))
Dim myFont = New System.Drawing.Font("Lucida Console", 14, System.Drawing.FontStyle.Regular)
windowManager.Content.Font = myFont
For Each myWindow As Reflector.IWindow In windowManager.Windows
myWindow.Content.Font = myFont
Public Sub Unload() Implements Reflector.IPackage.Unload
Here's the compiled version of my wonderful app right here. A word of warning, I spent all of 15 minutes writing this, and 10 minutes of that was waiting for GotDotNet to respond to different page requests. Obviously, I've not done any error handling and the possibility of actually having a dialog to customize the font would be pretty cool. But it gets the job done for me, and I just felt like sharing.