Convert a Visio Shape To Pdf

**Convert a visio shape to pdf **

The ToPdf method exposed by the Shape class can be used to convert to pdf.

The code below shows how to:

  1. Load a sample diagram.
  2. get a particular page.
  3. get a particular shape.
  4. convert shape to pdf.

Shape to Pdf

Use the following code in your .net application to convert a visio shape to pdf.