THPDFPage.SetRenditionMediaScreenParameters Method
为后续的页面绘制输出设置 rendition media screen parameters 状态。该设置影响之后的页面绘制、页面字典条目、一致性元数据或文本输出,而不影响已写出的内容
声明
procedure SetRenditionMediaScreenParameters(Rendition: THPDFDictionaryObject; WindowType: Integer; BackgroundR, BackgroundG, BackgroundB, BackgroundOpacity: Single; MonitorIndex: Integer; BestEffort: Boolean);
单元
HPDFDoc
参数
| 名称 | 用途 |
|---|---|
Rendition | SetRenditionMediaScreenParameters 使用的输入 |
WindowType | SetRenditionMediaScreenParameters 使用的输入 |
BackgroundR | SetRenditionMediaScreenParameters 使用的输入 |
BackgroundG | SetRenditionMediaScreenParameters 使用的输入 |
BackgroundB | SetRenditionMediaScreenParameters 使用的输入 |
BackgroundOpacity | 图形状态或软遮罩(soft-mask)工作流所使用的透明度值 |
MonitorIndex | 用于选择现有项的从零开始的索引或对象索引 |
BestEffort | SetRenditionMediaScreenParameters 使用的输入 |
返回值
此成员不返回值
使用说明
- 在受影响的页面、资源、字段或目录对象完成之前,在页面绘制工作流中使用此 API
- 保持对象名、字段名、资源名和返回的句柄稳定,直到文档完成
- 页面级的更改会影响同一页面上之后的操作符;如果某个临时设置不应泄漏出去,请先保存图形状态,用完再恢复