IRenderingOptions

Interfaz IRenderingOptions

Proporciona opciones que controlan cómo se renderiza una presentación/diapositiva.

public interface IRenderingOptions : ISaveOptions  

Propiedades

NombreDescripción
AsISaveOptions { get; }Devuelve la interfaz ISaveOptions. Solo lectura ISaveOptions.
DisableFontLigatures { get; set; }Obtiene o establece un valor que indica si el texto se renderiza sin usar ligaduras. Cuando se establece en true, las ligaduras se desactivarán en la salida renderizada. Por defecto, esta propiedad se establece en false.
InkOptions { get; }Proporciona opciones que controlan la apariencia de los objetos de tinta en el documento exportado. Solo lectura IInkOptions
SlidesLayoutOptions { get; set; }Obtiene o establece el modo en que se colocan las diapositivas en la página al exportar una presentación ISlidesLayoutOptions.

Ejemplos

[C#]  
using (Presentation pres = new Presentation("pres.pptx"))  
{  
  IRenderingOptions renderingOpts = new RenderingOptions();  
  renderingOpts.SlidesLayoutOptions = new NotesCommentsLayoutingOptions { 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);  
}  

Ver También