Associating the DPLX File
The first step in creating a PDF document using a DPLX file is to specify the DPLX file to use. See Using a DPLX file from a Web Form for more on associating a DPLX file with a Web Form.
A DPLX file is referenced using the following code:
DocumentLayout reportDocument = new DocumentLayout( @"Filepath/ReportLayoutName.dplx" );
Dim reportDocument As DocumentLayout = New DocumentLayout("Filepath/ReportLayoutName.dplx")