# EXPORTPDF Command [GstarCAD 2027](Help%20System/GSTARCAD/2027/Index.md) → [Commands](Help%20System/GSTARCAD/2027/Commands/(Commands).md) → [E](Help%20System/GSTARCAD/2027/Commands/E/(E).md) ## Function Description: This command is used to generate a PDF file from a single layout, all layouts, or a specified area in model space. The [Save As PDF dialog box](Help%20System/GSTARCAD/2027/Commands/03%20Dialog%20Boxes/E/EXPORTPDF%20Dialog%20Box.md) is displayed. Users can use this dialog box to override the device driver's page setup options, add a plot stamp and change file options. To export layouts to a PDF file, invoke this command from a layout. After that use the Save As PDF dialog box to specify whether to export that layout only or all the layouts in the drawing. To export model space to a PDF file, invoke this command from model space. After that use the Save As PDF dialog box to specify the area you want to export. ## Command Access: > **Icon:** ![](Help%20System/GSTARCAD/2027/assets/3fbbd4793e529b2dbce1c792ddcdddaada2a5d7500880205cebedae79a108c95.png) > **Menu:** File > Export > PDF > **Ribbon:** / > **Toolbar:** / > **Command:** EXPORTPDF > **Alias:** / **Command Prompts: /** --- **Related References:** - [Commands about Exporting PDF, DWF and DWFx Files (GstarCAD 2026)](../../../2026/Commands/00%20Command%20Groups/Commands%20about%20Exporting%20PDF%2C%20DWF%20and%20DWFx%20Files.md) **Related Tasks:** - [To Export Model Space to a PDF File (GstarCAD 2026)](../../../2026/Commands/01%20Procedures/To%20Export%20Model%20Space%20to%20a%20PDF%20File.md) --- [Original help](https://www.gstarcad.net/help/GstarCAD_2027_en-US/detail/commandReferences_E/EXPORTPDF.html) · © Gstarsoft Co., Ltd.