Click or drag to resize
CPGUSaveFile Method
Writes a PG to an image file.

Available since Oasis montaj version: 5.0
License: Available to anyone with an Oasis Montaj license.  

Namespace: Geosoft.Desktop.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
The trend object and projection are optional.
Syntax
public static void SaveFile(
	CGXNETCore gxNetShared,
	CPG pg,
	double xo,
	double yo,
	double dx,
	double dy,
	double rot,
	CTR tr,
	CIPJ ipj,
	string file
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
pg
Type: GeoEngine.Core.GXNetXCPG
Input PG object
xo
Type: SystemDouble
X origin
yo
Type: SystemDouble
Y origin
dx
Type: SystemDouble
DX
dy
Type: SystemDouble
DY
rot
Type: SystemDouble
Rotation angle
tr
Type: GeoEngine.Core.GXNetXCTR
Trend information or NULL
ipj
Type: GeoEngine.Core.GXNetXCIPJ
Projection or NULL
file
Type: SystemString
Output file name
See Also