Adjust ScaleFactor to do 'pixelsCount' pixels corrispond to 'length'.

Useful to set a know length.

Namespace: HiComponents.IEvolution
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.0.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public void SetScaleFromPixels(
	int pixelsCount,
	double length
)
Public Sub SetScaleFromPixels ( _
	pixelsCount As Integer, _
	length As Double _
)
public:
void SetScaleFromPixels(
	int pixelsCount, 
	double length
)

Parameters

pixelsCount
Int32
The number of pixels
length
Double
The length in MeasureUnit unit

See Also