How to Prevent Word Shapes from Shifting When Exporting to PDF
Question details
The user wants to prevent rectangles and other vector shapes from shifting position or misaligning when exporting a Word document to a PDF file.

- Product
- Microsoft Word
- Device & OS
- Windows 10 / Mac
- Scenario
- Exporting or saving a document containing customized layouts and vector shapes to a PDF format.
- Observed behavior
- When the Word document is converted or exported to PDF, the shapes and objects shift away from their intended positions on the page.
Ensure your document's page size matches your intended output exactly, and verify that your default printer supports your margin settings, as Word uses printer metrics to render PDFs.
Adjust Shape Alignment and Page Setup Settings
Use the 'Align to Page' feature to securely anchor shapes to the page edges and verify that your selected page size supports borderless layout.
Word depends heavily on your system's default printer driver to calculate page margins and layout boundaries. If the printer does not support borderless printing for your selected page size, Word may subtly adjust elements before generating the PDF.
Go to 'File' > 'Page Setup' (or 'Layout' > 'Size') and ensure your document is set to the exact page size you need, such as a borderless 5-by-7-inch format if supported by your printer.
Click on the rectangle or vector shape in your document that is shifting during the PDF export.
Navigate to the 'Shape Format' or 'Layout' tab. In the 'Arrange' group, click 'Align' and select 'Align to Page' from the drop-down menu.
Click 'Align' again and choose 'Align Top', 'Align Left', or 'Align Right' as appropriate to firmly anchor the shape to the exact boundaries of the page.

Export Documents to PDF Flawlessly with WPS Office
WPS Office features an advanced, built-in PDF export engine that works independently of external printer drivers. This ensures that your document layout, fonts, and shape alignments remain exactly as they appear on your screen.
- 1. Open your Document: Launch WPS Writer and open your .docx file containing the vector shapes and layouts.
- 2. Verify Alignment: Select your shapes, navigate to the 'Page Layout' tab, click 'Align', and position them securely on your page.
- 3. Export to PDF directly: Click on 'Menu' > 'Export to PDF'. The built-in converter will process the file natively and output a perfectly aligned PDF.

Frequently Asked Questions
Why do my Word documents look different when saved as a PDF?
Word relies on your default printer's drivers to calculate page layouts and margins. If the active printer doesn't support specific margins or borderless printing, Word may adjust shapes and text slightly before sending the layout data to the PDF converter.
How do I make a shape stay in one fixed place in a document?
Select the shape, click the 'Layout Options' icon that appears next to it, and choose 'Fix position on page'. Alternatively, go to the 'Shape Format' tab, click 'Align', and choose 'Align to Page' so the object anchors to the page boundaries rather than the surrounding text.
Will changing my default printer fix PDF layout issues?
Yes. Changing your default printer to a dedicated virtual PDF printer (such as 'Microsoft Print to PDF' or 'Adobe PDF') forces the word processor to use standard PDF layout metrics, which often prevents unexpected shifts when exporting.




