SE_coordref_set_xy_by_envelope

Calculates and sets the x,y false origin and scale factor of the supplied coordinate reference object from the given envelope

Usage syntax

LONG SE_coordref_set_xy_by_envelope (SE_COORDREF coordref, SE_ENVELOPE *extent);

Parameters
coordref A pointer to the coordinate reference object
extent A pointer to an SE_ENVELOPE structure
Description

SE_coordref_set_xy_by_envelope calculates and sets the x,y false origin and scale factor (xyunits) of the supplied coordinate reference object from the given envelope. Specify the values in the units of the coordinate system.

Returns

SE_SUCCESS
SE_INVALID_COORDREF_OBJECT

SE_INVALID_ENVELOPE

SE_INVALID_POINTER