UppInProject

UppInProject : Number (double)

 

Gets and sets the layer’s resolution level in the project. For globe projects, the UPP is in meters. Legal values for UPP are restricted to values on the project ruler, with the project ruler defined by a geometric progression with a common ratio of 2. If a value that is not on the project ruler is passed, the closest value on the ruler to the one passed is used.

Example

This example shows how to set the UppInProject to the next smaller (better resolution) value on the project ruler.

 

var layer = project.Layers.Item(0);

layer.UppInProject = layer.UppInProject / 2;