Viewer Object

The Viewer object represents the Meridian viewer in the client applications.

Viewer Object Properties

The Viewer object provides the following properties.

ClosedIsPreview Property

True if the current document is being shown in the Print Preview window. Read-only.

Syntax

IsPreview As Boolean

ClosedWatermark Property

An object that represents the current watermark settings. For information on configuring watermark printing with the Watermark properties, see Configure Watermark Printing. This property supports two lines of text.

Syntax

Watermark As IASWatermark

Example

To achieve two lines, you can use a line break:

Client.Viewer.WaterMark.TitleText = "Printed by: " & User.FullName  + vbCrLf + " on: " & DateValue(Today)

ClosedIsRendition Property

Indicates whether the viewed file is a rendition or the native content stream of the current document. Read-only.

Syntax

IsRendition As Boolean

2022 R2