Click or drag to resize
CDOCUSetFileMeta Method
Set the document from a file source with metadata.

Available since Oasis montaj version: 5.1.8
License: Available to anyone.  

Namespace: Geosoft.Desktop.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
See SetFile_DOCU. This function is the same as sSetFile_DOCU, plus insures that a META exists that includes the "Data" class. If the file has associated metadata, either supported natively in the file, or through an associated file "filename.extension.GeosoftMeta", that metadata will be loaded into the DOCU meta, and a Data class will be constructed if one does not exist. Also, the Document type Extension is very important in that it specifies the document types that natively have metadata. The ones currently supported are: "map" Geosoft map file "gdb" Geosoft database "grd" Geosoft grid file
Syntax
public void SetFileMeta(
	string type,
	string name,
	string file
)

Parameters

type
Type: SystemString
Document type extension
name
Type: SystemString
Document name, if NULL use file name
file
Type: SystemString
Document file or URL
See Also