TslCompDoc object can be obtained from one of OpenDocument, NewDocument, GetActiveDocument or OpenDocumentWithNotification methods of the Application object.

CompositeDoc

Read-only value. Contains the IDispatch interface of the CompDoc object which is associated with the given TslCompDoc object.

Syntax:

Set CompDoc  = Doc. CompositeDoc

CompDoc

An object receiving the dispatch to the composite document

Doc

An object expression that evaluates to a CADRaster document object

Dirty

Contains information if document has been modified since the last “save” operation.

Syntax:

bDirty = Doc. Dirty

bDirty

BOOLEAN value set to TRUE, if document has been modified

Doc

An object expression that evaluates to a CADRaster document object

ExtentsXmin, ExtentsYmin, ExtentsXmax and ExtentsYmax

World coordinates of the document’s rectangular extents (expressed in inches). These four properties are read-only.

Syntax:

Xmin = Doc. ExtentsXmin
Ymin = Doc. ExtentsYmin
Xmax = Doc. ExtentsXmax
Xmin = Doc. ExtentsYmax

Xmin

DOUBLE value receiving the x-coordinate of the left document’s border (in inches)

Ymin

DOUBLE value receiving the y-coordinate of the bottom document’s border (in inches)

Xmax

DOUBLE value receiving the x-coordinate of the right document’s border (in inches)

Ymax

DOUBLE value receiving the y-coordinate of the top document’s border (in inches)

Doc

An object expression that evaluates to a CADRaster document object

ParentApplication

Read-only value. Contains the IDispatch interface of the CADRaster Application object that is the parent of the given TslCompDoc object.

Syntax:

Set ParApp = Doc. ParentApplication

ParApp

An object receiving the dispatch to the document’s parent application

Doc

An object expression that evaluates to a CADRaster document object

BLH2XYZ

Transforms point coordinates from 3D ellipsoidal coordinate system to 3D carthesian coordinate system.

Syntax:

ret = Doc. BLH2XYZ (blhX, blhY, carX, carY)

ret

ret BOOLEAN value set to True on success

blhX

DOUBLE value containing x coordinate in 3D ellipse coordinate system

blhY

DOUBLE value containing y coordinate in 3D ellipse coordinate system

carX

DOUBLE value receiving x coordinate in carthesian coordinate system

carY

DOUBLE value receiving y coordinate in carthesian coordinate system

Doc

An object expression that evaluates to a SuperEdit document object

Geo2Ort

Transforms point coordinates from the current geographical coordinate system to orthogonal coordinate system.

Syntax:

ret = Doc. Geo2Ort (geoX, geoY, ortX, ortY)

ret

BOOLEAN value set to True on success

geoX

DOUBLE value containing x coordinate in current geographical coordinate system

geoY

DOUBLE value containing y coordinate in current geographical coordinate system

ortX

DOUBLE value receiving x coordinate in orthogonal coordinate system

ortY

DOUBLE value receiving y coordinate in orthogonal coordinate system

Doc

An object expression that evaluates to a SuperEdit document object

GetCompDocEditor

Returns the IDispatch interface of the CompDocEditor object connected with the active document. With using that object it is possible to make editing raster operations on the active document.

Syntax:

Set Editor = Doc.GetCompDocEditor()

Editor

An object receiving the dispatch to the document’s raster editor

Doc

An object expression that evaluates to a CADRaster document object

GetCurrentMapping

Returns a string that describes the current geographical mapping.

Syntax:

geoString = Doc. GetCurrentGeoMapping ()

geoString

STRING value that describes the current geographical mapping

Doc

An object expression that evaluates to a SuperEdit document object

GetExtFileName

Creates ExtFileName object containing information about the file name, file format and compression mode of the given document’s file.

Syntax:

Set File = Doc.GetExtFileName()

File

An object receiving the dispatch to the document’s file object

Doc

An object expression that evaluates to a CADRaster document object

IsDirty

TRUE if document modified after the last “save” operation.

Syntax:

bDirty = Doc. IsDirty()

bDirty

bDirty BOOLEAN value set to TRUE, if document has been modified

Doc

An object expression that evaluates to a CADRaster document object

Ort2Geo

Transforms point coordinates from orthogonal coordinate system to the current geographical coordinate system.

Syntax:

ret = Doc. Ort2Geo (ortX, ortY, geoX, geoY)

ret

BOOLEAN value set to True on success

ortX

DOUBLE value containing x coordinate in orthogonal coordinate system

ortY

DOUBLE value containing y coordinate in orthogonal coordinate system

geoX

DOUBLE value receiving x coordinate in current geographical coordinate system

geoY

DOUBLE value receiving y coordinate in current geographical coordinate system

Doc

An object expression that evaluates to a SuperEdit document object

SelectGeoMapping

Displays a dialog that lets you choose an appropriate geographical mapping.

Syntax:

Doc. SelectGeoMapping ()

Doc

An object expression that evaluates to a SuperEdit document object

SetCurrentGeoUnits

Sets the units that are used by current geographical mapping.

Syntax:

ret = Doc. SetCurrentGeoUnits (geoUnits)

ret

BOOLEAN value set to True on success

geoUnits

SHORT value containing a code of units that is to be used by the current geographical mapping

Doc

An object expression that evaluates to a SuperEdit document object

SetCurrentMapping

Sets the current geographical mapping according to string parameter.

Syntax:

Doc = Doc. SetCurrentGeoMapping (geoString)

geoString

STRING value that describes a geographical mapping that becomes the current mapping

Doc

An object expression that evaluates to a SuperEdit document object

XYZ2BLH

Transforms point coordinates from 3D carthesian coordinate system to 3D ellipsoidal coordinate system.

Syntax:

ret = Doc. XYZ2BLH (carX, carY, blhX, blhY)

ret

ret BOOLEAN value set to True on success

carX

DOUBLE value containing x coordinate in carthesian coordinate system

carY

DOUBLE value containing x coordinate in carthesian coordinate system

blhX

DOUBLE value receiving x coordinate in 3D ellipse coordinate system

blhY

DOUBLE value receiving y coordinate in 3D ellipse coordinate system

Doc

An object expression that evaluates to a SuperEdit document object

loading table of contents...