EXPORTMODELSPACE system variable
Function Description:
The EXPORTMODELSPACE system variable is used to specify which part of drawing in model space to export to a DWF, DWFx or PDF file.
Type : Integer 
Saved in : Drawing 
Initial value : 0 
Range : 0,1,2
System Variable Value:
0 :display
1 :extent
2 :window