private void ChooseStampFontExecute(object obj) { var interaction = new FontInteraction(); interaction.Font = new Font(CurrentProfile.Stamping.FontName, CurrentProfile.Stamping.FontSize); _interactionInvoker.Invoke(interaction); if (!interaction.Success) { return; } var postScriptName = _fontHelper.FindPostScriptName(interaction.Font.Name); if (postScriptName == null) { DisplayFontError(); return; } CurrentProfile.Stamping.FontName = interaction.Font.Name; CurrentProfile.Stamping.PostScriptFontName = postScriptName; CurrentProfile.Stamping.FontSize = interaction.Font.Size; UpdateFontButtonText(CurrentProfile.Stamping); }
public void Invoke(FontInteraction interaction) { throw new NotImplementedException(); }