Help Contents

PowerPointOptions Object

The PowerPointOptions object specifies additional Microsoft PowerPoint processing options.

Remarks

The PowerPointOptions object specifies additional MS PowerPoint processing options used when converting PowerPoint documents. These options are used only if special document processing for Microsoft PowerPoint is turned on with UseAutomation property of BatchProcessingOptions object.

Object access

You may retrieve PowerPointOptions object instance using PowerPointOptions property of BatchProcessingOptions object:

Set PowerPointOptions=P2H.DefaultBatchProcessingOptions.PowerPointOptions 
Here P2H refers to Server object instance. Then you can access its properties and methods using the reference to the created object.

 

Properties
 

Name Type Description
FitToPage ThreeStateFlag enumeration Determines whether the slides will be scaled to fill the size of the page they're printed on. Should be a value from ThreeStateFlag enumeration. TSF_AUTO value means using the setting stored in the presentation file.
FrameSlides ThreeStateFlag enumeration Specifies if a border-like frame around each slide should be printed. If value is:
  • TSF_YES - print the frame;
  • TSF_NO - do not print the frame;
  • TSF_AUTO - use default setting stored in the document.
OutputType POWERPOINT_PRINTOUTPUT enumeration Selects what content is printed: slides, handouts, notes, etc. If this property is set to POWERPOINT_PRINTOUTPUT_AUTO, the setting stored in the presentation file is used.
PrintHiddenSlides ThreeStateFlag enumeration Should have a value from ThreeStateFlag enumeration. If value is:
  • TSF_YES - print hidden slides;
  • TSF_NO - do not print hidden slides;
  • TSF_AUTO - use default setting stored in the document.


If you changed properties of this object and want to save the changes, use ApplyChanges method of the BatchProcessingOptions object which contains this PowerPointOptions instance.

Examples

The following example obtains an PowerPointOptions object instance, sets its FitToPage property and saves the changes:

Set BPOpt=P2H.DefaultBatchProcessingOptions
Set PowerPointOptions=BPOpt.PowerPointOptions 
PowerPointOptions.FitToPage=1
BPOpt.ApplyChanges