Accusoft Prizm Viewer Control v10.0
ImageRotation Property
See Also  Send comments on this topic.
PrizmControl Object : ImageRotation Property

Glossary Item Box

Description

Gets and sets the current image rotation.

Property Type

Read-write property

Syntax

Visual Basic
Public Property ImageRotation As PV_ImageRotation

Return Type

A PV_ImageRotation enumeration value.

Remarks

The default value is PV_ImageRotation_0.

Note: This property and the DoImageRotateLeft and DoImageRotateRight methods have subtly different behavior. When you change this property, the previous rotation is discarded and replaced with the new rotation. The DoImageRotateLeft and DoImageRotateRight methods use the current value of this property and add an additional 90 degrees of rotation.

if ImageMirrorHorizontal or ImageMirrorVertical are set to true and this property is called, Prizm Viewer applies the mirror before rotation. The DoImageRotateLeft and DoImageRotateRight methods consider the state of the mirroring properties and adjusts the value of the ImageRotation in whichever direction produces the desired effect.

Note: This property cannot be set in the Object/Embed tag, list file, or during the OnInitialize event.

See Also

©2015. Accusoft Corporation. All Rights Reserved.