AutoByExtension

Convert.AutoByExtension method

Converts Presentation using the passed output path extension to determine the required export format.

public static void AutoByExtension(string presPath, string outPath)
ParameterTypeDescription
presPathStringPath of the input presentation
outPathStringOutput path

Exceptions

exceptioncondition
ArgumentOutOfRangeException

Examples

Aspose.Slides.LowCode.Convert.AutoByExtension("pres.pptx", "pres.pdf");

See Also