SetColorRenderingIntent

SetColorRenderingIntent

概述

SetColorRenderingIntent 是 Aspose.PDF FOSS 中用于 .NET 的一个类。继承自:Operator。

ri — 设置颜色渲染意图。

此类提供 7 个方法,用于在 .NET 程序中处理 SetColorRenderingIntent 对象。可用的方法包括:Accept、IsTextShowOperator、SetColorRenderingIntent、ToPdf、ToString、ValueEquals。在安装了 Aspose.PDF FOSS for .NET 包之后,所有公共成员对任何 .NET 应用程序均可访问。属性:CommandName、Index、IntentName、RenderingIntent。

属性

名称类型访问描述
RenderingIntentstring读写获取或设置渲染意图。
IntentNamestring读写Aspose.Pdf-shape 是 RenderingIntent 的别名。
CommandNamestring读取PDF 命令名称(序列化形式的最后一个标记,例如.
Indexint读写此运算符在其所属的 OperatorCollection 中的基于1的位置。

方法

签名描述
SetColorRenderingIntent()在此 SetColorRenderingIntent 实例上调用 SetColorRenderingIntent。
SetColorRenderingIntent(intentName: string)设置颜色渲染意图值。
ToPdf()在此 SetColorRenderingIntent 实例上调用 ToPdf。
Accept(visitor: IOperatorSelector)在此 SetColorRenderingIntent 实例上调用 Accept(visitor)。
ToString()默认的字符串形式是 PDF 序列化,因此调用方(测试助手、调试日志)无论持有未解析的 RawOperator 还是已类型化的子类,都会获得相同的内容流文本。
IsTextShowOperator(op: Operator)当 op 是文本显示操作符时为 true(Tj / TJ / ’ / " — TextShowOperator 的具体子类)。
ValueEquals(op: Operator)当此操作符的序列化 PDF 形式等于 op 的时为 true。

另请参阅

 中文