Contents
[
Hide
]Print()
Prints the whole presentation to the default printer.
public void Print()
Examples
The following example shows how to set print options Dynamically for a PowerPoint Presentation.
[C#]
using (Presentation pres = new Presentation())
{
PrinterSettings printerSettings = new PrinterSettings();
printerSettings.Copies = 2;
printerSettings.DefaultPageSettings.Landscape = true;
printerSettings.DefaultPageSettings.Margins.Left = 10;
//...etc
pres.Print(printerSettings);
}
See Also
- class Presentation
- namespace Aspose.Slides
- assembly Aspose.Slides
Print(PrinterSettings)
Prints the presentation according to the specified printer settings, using the standard (no User Interface) print controller.
public void Print(PrinterSettings printerSettings)
Parameter | Type | Description |
---|---|---|
printerSettings | PrinterSettings | The .NET printer settings to use. |
See Also
- class Presentation
- namespace Aspose.Slides
- assembly Aspose.Slides
Print(string)
Print the whole presentation to the specified printer, using the standard (no User Interface) print controller.
public void Print(string printerName)
Parameter | Type | Description |
---|---|---|
printerName | String | The name of the printer. |
See Also
- class Presentation
- namespace Aspose.Slides
- assembly Aspose.Slides
Print(PrinterSettings, string)
Prints the document according to the specified printer settings, using the standard (no User Interface) print controller and a presentation name.
public void Print(PrinterSettings printerSettings, string presName)
Parameter | Type | Description |
---|---|---|
printerSettings | PrinterSettings | The .NET printer settings to use. |
presName | String | The presentation name to display (for example, in a print status dialog box or printer queue) while printing the presentation. |
See Also
- class Presentation
- namespace Aspose.Slides
- assembly Aspose.Slides