IRenderingOptions

IRenderingOptions interface

Fournit des options qui contrôlent le rendu d’une présentation/diapositive.

public interface IRenderingOptions : ISaveOptions

Propriétés

NomLa description
AsISaveOptions { get; }Renvoie l’interface ISaveOptions. Lecture seuleISaveOptions .
NotesCommentsLayouting { get; }Fournit des options qui contrôlent la façon dont les notes et les commentaires sont placés dans le document exporté.

Exemples

[C#]
using (Presentation pres = new Presentation("pres.pptx"))
  {
  IRenderingOptions renderingOpts = new RenderingOptions();
  renderingOpts.NotesCommentsLayouting.NotesPosition = NotesPositions.BottomTruncated;
  
  pres.Slides[0].GetThumbnail(renderingOpts).Save("pres-Original.png", ImageFormat.Png);
  
  renderingOpts.DefaultRegularFont = "Arial Black";
  pres.Slides[0].GetThumbnail(renderingOpts).Save("pres-ArialBlackDefault.png", ImageFormat.Png);
  
  renderingOpts.DefaultRegularFont = "Arial Narrow";
  pres.Slides[0].GetThumbnail(renderingOpts).Save("pres-ArialNarrowDefault.png", ImageFormat.Png);
}

Voir également