General method for export data in various format

I need to create a common method to export data in different formats, like word or pdf.

I would like to create a common method which receves a list object. I will get the necessary data in the form a json, but I don't need to all the columns in that data so there will be set the necessary field and their type in our code. here the codes I created for that.

public class ColumnType
        public string Title { get; set; }  //column heading
        public int? Length { get; set; }  
        public Alignment? Alignment { get; set; }
        public string Type { get; set; }   //datatype of column

public enum Alignment
    None = 0,
    Left = 1,
    Right = 2,
    Center = 3

public enum ExportType
    pdf = 1,
    word = 2

Now I need to set the data corresponding data for export.