PageSetupOverridesTemplateFile Example

Using Programming Languages other than VBA

Sub Example_PageSetupOverridesTemplateFile()

' Note: Change the file path and name to a valid file on your system.
	
		Dim MyFiles As IAcadPreferencesFiles2
		Set MyFiles = AcadApplication.Preferences.Files
		MyFiles.PageSetupOverridesTemplateFile = "C:\MyTemplate.dwt"

End Sub

 

   Comments?