# Convert to Presentation with advanced options Follow this guide and learn how to convert documents to PowerPoint presentations of PPT, PPTX formats with height, width, DPI, margins and other customizations using GroupDocs.Conversion for Node.js via Java. [**GroupDocs.Conversion**](#) provides [PresentationConvertOptions](#) to give you control over conversion result when convert to presentation format. Along with [common convert options](#) from base class [PresentationConvertOptions](#) has the following additional options: * [setFormat](#) specifies desired result document type. Available options are: *Ppt, Pps, Pptx, Ppsx, Odp, Otp, Potx, Pot, Potm, Pptm, Ppsm*. * [setPassword](#) whether the converted document will be password protected with the specified password. * [setZoom](#) specifies the zoom level in percentage. The following code snippet shows how to convert to Presentation with advanced options: ```js const converter = new groupdocs.conversion.Converter("sample.docx"); const convertOptions = new groupdocs.conversion.PresentationConvertOptions(); convertOptions.setPageNumber(2); convertOptions.setPagesCount(1); convertOptions.setFormat(groupdocs.conversion.PresentationFileType.Ppt); converter.convert("converted.ppt", convertOptions); ```