# Inserting .pdf created in Visio to LaTeX without whitespace [duplicate]

Introduction: I recently created a load of figures in Microsoft Visio. These figures looks great, however, are stored in the .png format. I am interested in raising the picture quality.

Method: I am keen to get this to be vector graphics and I thought that the best option would be to save them as .pdf from Visio and load to LaTeX in following manner:

Package (Thanks Sigur):

\usepackage{graphicx}


\begin{figure}
\begin{center}
\includegraphics[scale=0.70]{myFile}\\
\caption{MyCaption}
\end{center}
\end{figure}


Problem/Question: My problem is that once I save my file in Visio - it brings a lot of whitespace with it (space under and besides the actual figure). I can't get rid of this whitespace once saving the file to .pdf from visio nor can I rid of this whitespace while including the .pdf in Latex. What do you think is the best option to get rid of this excess white space?

• See the "trim" option of \includegraphics (part of the graphicx package). Jan 14 '14 at 13:13
• First of all you need \usepackage{graphicx} instead of pdfpages. After that, you can crop the pdf figure using some options in the command \includegraphics. Jan 14 '14 at 13:13