Hi Bobby,
bellow is a code snipet that shows how to use the Export method
if(PrintRange!=Autodesk.Revit.Enums.PrintRange.Select)
{
views.Insert(_commandData.View);
}
else
{
views=_printmanager.ViewSheetSetting.CurrentViewSheetSet.Views;
}
DWF2DExportOptions options=new DWF2DExportOptions();
options.PaperFormat=ExportPaperFormat.Default;
options.PortraitLayout=PrintSetup.Orientation==PageOrientationType.Portrait;
options.ExportObjectData=true;
options.ImageFormat=DWFImageFormat.Lossless;
options.ImageQuality=DWFImageQuality.High;
options.PaperFormat = ExportPaperFormat.ANSI_A;
_commandData.Application
.ActiveDocument
.Export(Path.GetDirectoryName(PrintToFilePath), Path.GetFileName(PrintToFilePath), views, options);
}