Interface IFontSavingCallback

Interface IFontSavingCallback

Le nom : Aspose.Note.Saving.Html Assemblée: Aspose.Note.dll (25.4.0)

Implémentez cette interface si vous voulez contrôler la façon dont Aspose.Note saute les fonctions lors de la sauvegarde d’un document en HTML.

public interface IFontSavingCallback
   {
      void SaveFont(string fontName, Font font);
   }

Methods

Les fonctions (FontSavingArgs)

Il est appelé lorsque Aspose.Note sauve un chiffre.

void FontSaving(FontSavingArgs args)
   {
      if (args.IsEmbedded)
      {
         if (args.SaveFonts || args.ExportFormat == SaveFormat.PDF)
         {
            this._fontSettings.EmbedFontFamilies = true;
         }
      }
      else
      {
         if (!this._fontSettings.EmbedAllFontFamilies)
         {
            this._fontSettings.EmbedFontFamilies = false;
         }
      }
   }

Parameters

args FontSavingArgs

Les paramètres d’épargne.

 Français