Message 1 of 4
DWF PrintParameters in API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Experts,
Any idea what's the wrong with below code, still I'm struggling to get grayscale and other setting output in DWF.
op.PaperFormat = ExportPaperFormat.ISO_A0; op.ImageQuality = DWFImageQuality.Default;
doc.PrintManager.PrintSetup.CurrentPrintSetting.PrintParameters.ZoomType = ZoomType.Zoom;
doc.PrintManager.PrintSetup.CurrentPrintSetting.PrintParameters.Zoom = Convert.ToInt32("100");
doc.PrintManager.PrintSetup.CurrentPrintSetting.PrintParameters.PaperPlacement = PaperPlacementType.Center;
doc.PrintManager.PrintSetup.CurrentPrintSetting.PrintParameters.HiddenLineViews = HiddenLineViewsType.VectorProcessing;
doc.PrintManager.PrintSetup.CurrentPrintSetting.PrintParameters.ColorDepth = ColorDepthType.GrayScale;
doc.PrintManager.PrintSetup.SaveAs("_DWF"); doc.PrintManager.Apply();