Page layout languages are used in desktop and electronic publishing. The main focus of these languages is to facilitate a two-dimensional graphic design. Popular page layout formats include TEX, SVG, PS, and EPS.
With GroupDocs.Conversion you can easily convert a page layout file format into another file format. For example, the TEX to PDF conversion code snippet looks like this:
// Load the source TEX fileusing(varconverter=newGroupDocs.Conversion.Converter("sample.tex")){// Set the convert options for PDF formatvaroptions=newPdfConvertOptions();// Convert to PDF formatconverter.Convert("converted.pdf",options);}
Put it simply - you just load a page layout file into the Converter class, select the desired output format and GroupDocs.Conversion does all the rest.
Note
Refer to the API reference for more conversion options and customizations.
Convert to page layout formats
On the other hand, converting your files to page layout format is also quite simple and natural.
The following code snippet shows how to convert a DOCX document to TEX format in C# using GroupDocs.Conversion.
// Load the source DOCX fileusing(varconverter=newGroupDocs.Conversion.Converter("sample.docx")){// Set the convert optionsvaroptions=newPageDescriptionLanguageConvertOptions(){Format=PageDescriptionLanguageFileType.Tex};// Convert to TEX formatconverter.Convert("converted.tex",options);}
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.