IExportImage::ImageType = esriExportImageTypeBiLevelThreshold causes a thin black strip on the right side of an exported map image.
上次发布: August 25, 2014No Product Found
漏洞 ID 编号
NIM001454
已提交
March 7, 2006
上次修改时间
June 5, 2024
适用范围
No Product Found
找到的版本
9.1
修正版本
9.2
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
解决办法
use another setting for ImageType property such as:pExportImage.ImageType = esriExportImageTypeGrayscaleIf the ActiveView is a PageLayout, it is also possible to workaround the problem by setting the page size to use the paper size of the current printe: pMxDoc.PageLayout.Page.FormID = esriPageFormSameAsPrinter ()See the "Change Paper Size" sample for full example of how to do this.