Message 1 of 8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Working through the new PDF Export and how to automation the process. I have found that if you use Paper Format as Default and if you have any other layout / format options set it will not Export, nor will it throw an exception. It just doesn't work. It would be nice to allow it to ignore other parameters much like many other settings do or at least throw and exception so you know why.
PDFExportOptions options = new PDFExportOptions
{
ColorDepth = ColorDepthType.Color,
Combine = false,
ExportQuality = PDFExportQualityType.DPI600,
HideCropBoundaries = true,
PaperFormat = ExportPaperFormat.Default,
HideReferencePlane = true,
HideScopeBoxes = true,
HideUnreferencedViewTags = true,
MaskCoincidentLines = true,
//If any of the commented lines are active the Export will not work.
//PaperPlacement = PaperPlacementType.LowerLeft,
StopOnError = true,
//ZoomType = ZoomType.Zoom,
//ZoomPercentage = 100,
ViewLinksInBlue = false
};
Solved! Go to Solution.