CreateProjectionObject

 

The CreateProjectionObject creates a Projection object. Use the methods and properties of the Projection object after the projection is created with this command.

 

Syntax

object.CreateProjectionObject

 

Remarks

It is important to delete the projection object when you are done with it. If the projection copy is not deleted, the MapViewer application process will run even after MapViewer and Scripter are closed.

 

Example

    'CreateProjectionObject

    'Get the projection from the document and assign it to the variable "Projection"

    Set Projection = Plot.CreateProjectionObject

 

    'Do something with the projection here...

 

    'Delete the projection object when finished

    Projection.Delete

 

Used by: PlotDocument object