Convert
Convert class
Represents a group of methods intended to convert Presentation.
Convert
Returns:
Convert
autoByExtension
| Name | Description |
|---|
| autoByExtension (String, String) | Converts Presentation using the passed output path extension to determine the required export format. |
Parameters:
| Name | Type | Description |
|---|
| presPath | String | Path of the input presentation |
| outPath | String | Output path |
Error
| Error | Condition |
|---|
| ArgumentOutOfRangeException | If unknown or unsupported format |
toJpeg
| Name | Description |
|---|
| toJpeg (Presentation, String) | Converts the input presentation to a set of JPEG format images. If the output file name is given as “myPath/myFilename.jpeg”, the result will be saved as a set of “myPath/myFilename_N.jpeg” files, where N is a slide number. |
Parameters:
| Name | Type | Description |
|---|
| pres | Presentation | The input presentation. |
| outputFileName | String | The output file name. |
Error
| Error | Condition |
|---|
| null | ArgumentException |
toJpeg
| Name | Description |
|---|
| toJpeg (Presentation, String, Dimension) | Converts the input presentation to a set of JPEG format images. If the output file name is given as “myPath/myFilename.jpeg”, the result will be saved as a set of “myPath/myFilename_N.jpeg” files, where N is a slide number. |
Parameters:
| Name | Type | Description |
|---|
| pres | Presentation | The input presentation |
| outputFileName | String | The output file name. |
| imageSize | Dimension | The size of each generated image. |
Error
| Error | Condition |
|---|
| null | ArgumentException |
toJpeg
| Name | Description |
|---|
| toJpeg (Presentation, String, float, RenderingOptions) | Converts the input presentation to a set of JPEG format images. If the output file name is given as “myPath/myFilename.jpeg”, the result will be saved as a set of “myPath/myFilename_N.jpeg” files, where N is a slide number. |
Parameters:
| Name | Type | Description |
|---|
| pres | Presentation | The input presentation. |
| outputFileName | String | The output file name. |
| scale | float | The scaling factor applied to the output images relative to the original slide size. |
| options | RenderingOptions | The rendering options. |
Error
| Error | Condition |
|---|
| null | ArgumentException |
toPdf
| Name | Description |
|---|
| toPdf (String, String) | Converts Presentation to PDF. |
Parameters:
| Name | Type | Description |
|---|
| presPath | String | Path of the input presentation |
| outPath | String | Output path |
toPdf
| Name | Description |
|---|
| toPdf (String, String, PdfOptions) | Converts Presentation to PDF. |
Parameters:
| Name | Type | Description |
|---|
| presPath | String | Path of the input presentation |
| outPath | String | Output path |
| options | PdfOptions | Output PDF options |
toPdf
| Name | Description |
|---|
| toPdf (Presentation, String) | Converts Presentation to PDF. |
Parameters:
| Name | Type | Description |
|---|
| pres | Presentation | Input presentation |
| outPath | String | Output path |
toPdf
Parameters:
| Name | Type | Description |
|---|
| pres | Presentation | Input presentation |
| outPath | String | Output path |
| options | PdfOptions | Output PDF options |
toPng
| Name | Description |
|---|
| toPng (Presentation, String) | Converts the input presentation to a set of PNG format images. If the output file name is given as “myPath/myFilename.png”, the result will be saved as a set of “myPath/myFilename_N.png” files, where N is a slide number. |
Parameters:
| Name | Type | Description |
|---|
| pres | Presentation | The input presentation. |
| outputFileName | String | The output file name. |
Error
| Error | Condition |
|---|
| null | ArgumentException |
toPng
| Name | Description |
|---|
| toPng (Presentation, String, Dimension) | Converts the input presentation to a set of PNG format images. If the output file name is given as “myPath/myFilename.png”, the result will be saved as a set of “myPath/myFilename_N.png” files, where N is a slide number. |
Parameters:
| Name | Type | Description |
|---|
| pres | Presentation | The input presentation |
| outputFileName | String | The output file name. |
| imageSize | Dimension | The size of each generated image. |
Error
| Error | Condition |
|---|
| null | ArgumentException |
toPng
| Name | Description |
|---|
| toPng (Presentation, String, float, RenderingOptions) | Converts the input presentation to a set of PNG format images. If the output file name is given as “myPath/myFilename.png”, the result will be saved as a set of “myPath/myFilename_N.png” files, where N is a slide number. |
Parameters:
| Name | Type | Description |
|---|
| pres | Presentation | The input presentation. |
| outputFileName | String | The output file name. |
| scale | float | The scaling factor applied to the output images relative to the original slide size. |
| options | RenderingOptions | The rendering options. |
Error
| Error | Condition |
|---|
| null | ArgumentException |
toSvg
| Name | Description |
|---|
| toSvg (String) | Converts Presentation to SVG. |
Parameters:
| Name | Type | Description |
|---|
| presPath | String | Path of the input presentation |
toSvg
Parameters:
| Name | Type | Description |
|---|
| presPath | String | Path of the input presentation |
| getOutPath | Convert.GetOutPathCallback | Callback that returns the SVG output path for each slide in the presentation |
toSvg
Parameters:
toSvg
Parameters:
toSvg
Parameters:
toTiff
| Name | Description |
|---|
| toTiff (Presentation, String) | Converts the input presentation to a set of TIFF format images. If the output file name is given as “myPath/myFilename.tiff”, the result will be saved as a set of “myPath/myFilename_N.tiff” files, where N is a slide number. |
Parameters:
| Name | Type | Description |
|---|
| pres | Presentation | The input presentation. |
| outputFileName | String | The output file name. |
Error
| Error | Condition |
|---|
| null | ArgumentException |
toTiff
| Name | Description |
|---|
| toTiff (Presentation, String, TiffOptions, boolean) | Converts the input presentation to TIFF format with custom options. If the output file name is given as “myPath/myFilename.tiff” and multipage is false, the result will be saved as a set of “myPath/myFilename_N.tiff” files, where N is a slide number. Otherwise, if multipage is true, the result will be a multi-page “myPath/myFilename.tiff” document. |
Parameters:
| Name | Type | Description |
|---|
| pres | Presentation | The input presentation. |
| outputFileName | String | The output file name. |
| options | TiffOptions | The TIFF saving options. |
| multipage | boolean | Specifies whether the generated TIFF document should be a multi-page. |
Error
| Error | Condition |
|---|
| null | ArgumentException |