Use the PageNumbers property of ConvertOptions to convert only selected pages (or worksheets) from the source document. Page numbering starts from 1.
Using static method
usingGroupDocs.Markdown;varoptions=newConvertOptions{PageNumbers=new[]{1,3}};// Convert only pages 1 and 3MarkdownConverter.ToFile("business-plan.docx","specific-pages-static.md",options);
business-plan.docx is a sample file used in this example. Click here to download it.
business-plan.pdf is a sample file used in this example. Click here to download it.
**Table of Contents**
Meridian Outdoor Co. — Business Plan .........................................................................................1FY2026 Strategic Plan.................................................................................................................1Table of Contents.............................................................................................................................2
1. Executive Summary..................................................
[TRUNCATED]