- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello there!
I have a small problem regarding Decoument.ExportImage(ImageExportOptions options);
I am trying to export a set of drafting views but somehow the generated images cuts the views edges.
the Images:
And this image has the bottom part not visible at all:
The cut is very small but very frustrating because I can't make it a whole or even offset the element to fit the images.
Image Export Options used:
ImageExportOptions imgExportOpts = new ImageExportOptions()
{
ZoomType = ZoomFitType.FitToPage,
PixelSize = 500,
FilePath = rbrImagesDirectory + @"\",
FitDirection = FitDirectionType.Vertical,
HLRandWFViewsFileType = ImageFileType.PNG,
ShadowViewsFileType = ImageFileType.PNG,
ImageResolution = ImageResolution.DPI_72,
ShouldCreateWebSite = false,
};
imgExportOpts.ExportRange = ExportRange.SetOfViews
I have tried to modify FitDirectionType.Horizontal and this makes it worse than it is now by cutting the bottom portion even more -> in that case for the first image, the bottom part of the bar is not visible at all.
The image doesn't have such a big cut in the edges but it will be nice to have some spaces there or at least to see the parts 🙂
Please let me know if there is any way to zoom out the element or move it in order to be arranged better in image.
Thank you!
Solved! Go to Solution.