![](../icons/Help.png) | 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.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
NotesThe trend object and projection are optional.
Syntaxpublic static void SaveFile(
CGXNETCore gxNetShared,
CPG pg,
double xo,
double yo,
double dx,
double dy,
double rot,
CTR tr,
CIPJ ipj,
string file
)
Public Shared Sub SaveFile (
gxNetShared As CGXNETCore,
pg As CPG,
xo As Double,
yo As Double,
dx As Double,
dy As Double,
rot As Double,
tr As CTR,
ipj As CIPJ,
file As String
)
public:
static void SaveFile(
CGXNETCore^ gxNetShared,
CPG^ pg,
double xo,
double yo,
double dx,
double dy,
double rot,
CTR^ tr,
CIPJ^ ipj,
String^ file
)
static member SaveFile :
gxNetShared : CGXNETCore *
pg : CPG *
xo : float *
yo : float *
dx : float *
dy : float *
rot : float *
tr : CTR *
ipj : CIPJ *
file : string -> unit
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