VDF常见问题整理(一):如何设置渲染和打印输出的灰度?

本系列教程整理了VectorDraw 最常见问题,教程整理的很齐全,非常适合新手学习,本节教程将会介绍如何才能够设置渲染和打印输出的灰度。

VectorDraw Developer Framework试用版下载


问:

  • 是否支持设置渲染和打印输出的灰度/p>

答:

    在版本6021中添加了一个新属性ColorPalette,它是vdRender,vdPrint,vdLayout和vdViewport对象的属性。这意味着您可以拥有多个具有不同渲染属性的视口,1个truecolor视口,1个灰度视口或甚至一个用于打印功能的灰度布局。 

    使用以下vdRender.ColorDisplay枚举类型值获取/设置这些对象的输出调色板。

  • TrueColor是默认的实体颜色,图像不会更改。 

  • BlackAndWhite-实体和图像的颜色更改为最接近的黑色或白色。 

  • GrayScale-实体和图像的颜色更改为最接近的灰度颜色。 

    vdPrint的旧属性OutInBlackWhite设置为True时,将ColorPalette更改为vdRender.ColorDisplay.BlackAndWhite。

    当when设置为False时,将ColorPalette更改为vdRender.ColorDisplay.TrueColor。

The original file in Render mode TrueColor

The original file in Render mode TrueColor

The original file in Render mode GrayScale

The original file in Render mode GrayScale

The original file in Render mode Black & White

The original file in Render mode Black & White

The original file in Render mode in PrintPreview with GrayScale

The original file in Render mode in PrintPreview with GrayScale

8月省钱式嗨购|Office 365三大版本免费送,云端办公更畅快!

标签:

声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!

上一篇 2019年7月5日
下一篇 2019年7月5日

相关推荐

发表回复

登录后才能评论