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

Glossary Item Box

Description

Gets and sets the initial image scaling factor.

Property Type

Read-write property

Syntax

Visual Basic
Public Property InitialImageScalingFactor As Double

Return Type

A double value which represents the initial image scaling factor.

Remarks

The default value is 1.0 (actual size).

Valid values range from 0.01 to 10.0.

Prizm Viewer will keep ImageScalingFactor and ImageScalingRatio in sync, but cannot keep InitialImageScalingFactor and InitialImageScalingRatio in sync. You should not set both InitialImageScalingFactor and InitialImageScalingRatio properties.

This property is used when the ImageScalingMethod is set to PV_ScalingMethod_FactorLocation (2) or PV_ScalingMethod_Factor (3).

This property can only be set in the Object/Embed tag, list file, or during the OnInitialize event. The scope of this property setting is dependent on where it is set. For more information, refer to the Initial Property Scope topic.

Note: CAD images will generally not be displayed actual size unless the size unit for the CAD image is inches. All other units will be treated as inches and scaled accordingly. For example, a CAD image measured in miles will be displayed 1 inch per mile if you set this property to 1.0.

See Also

©2015. Accusoft Corporation. All Rights Reserved.