AdvancedPrintOptions.HorizontalFlip 属性 (Publisher)

要打印指定出版物的水平镜像的图像。 默认值为 False 。 读/写 Boolean

语法

表达式HorizontalFlip

表达 一个代表 AdvancedPrintOptions 对象的变量。

备注

仅在当前打印机为 PostScript 打印机时,才能访问此属性。 如果指定非 PostScript 打印机,则返回运行时错误。 使用 IsPostscriptPrinter 属性可确定指定的打印机是否为 PostScript 打印机。

此属性作为应用程序设置保存,并应用于以后的 Microsoft Publisher 实例。

This property corresponds to the Flip horizontally control on the Page Settings tab of the Advanced Print Settings dialog box.

在打印到照排机上的胶片时经常使用此属性,以便当胶片的药膜面朝下时(正如烧制印刷板时一样)可以正确读取图像。

示例

下面的示例确定活动打印机是否为 PostScript 打印机。 如果是,则活动出版物设置为打印为自身的水平镜像和垂直镜像负图像。

Sub PrepToPrintToFilmOnImagesetter() 
 
With ActiveDocument.AdvancedPrintOptions 
 If .IsPostscriptPrinter = True Then 
 .HorizontalFlip = True 
 .VerticalFlip = True 
 .NegativeImage = True 
 End If 
End With 
 
End Sub

支持和反馈

有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。