2.2.4.40.3 Scale::Rescale

ClassName

Scale

AccessType

public

Name

Rescale

Declaration

int		Rescale

Remark

The "Rescale" property - Rescale Type

enum {

AXIS_RESCALE_MANUAL

AXIS_RESCALE_NORMAL

AXIS_RESCALE_AUTO

AXIS_RESCALE_FIXED_BEG

AXIS_RESCALE_FIXED_END

AXIS_RESCALE_FIXED_BEG_AUTO_TO

AXIS_RESCALE_AUTO_TO_FIXED_END

}

Examples

EX1

void    Scale_Rescale_ex1()
{
	GraphLayer gl = Project.ActiveLayer();
	if( !gl.IsValid() )
		return;
 
	// Intialize a Scale object from the Y-axis scale of the GraphLayer
	// (gl.Y is the Y-axis scale for the layer attched to "gl").
	Scale            s(gl.Y);
	
	// Display the "Type" property:
	out_double("Rescale = ", s.Rescale);
}

Description

Header to Include

origin.h

See Also

Reference