Save the contents of the globe document to the specified file name.
[Visual Basic .NET] Public Sub SaveAs ( _ ByVal bsDocument As String, _ [ByVal bUseRelativePaths As Boolean], _ [ByVal bCreateThumnbail As Boolean] _ )
[C#] public void SaveAs ( string bsDocument, bool bUseRelativePaths, bool bCreateThumnbail );
[C#]
Optional Values
bUseRelativePaths Supply true as a default value.
bCreateThumnbail Supply true as a default value.
[C++]
HRESULT SaveAs(
BSTR bsDocument,
VARIANT_BOOL bUseRelativePaths,
VARIANT_BOOL bCreateThumnbail
);
[C++]Parameters
bsDocument [in] bsDocument is a parameter of type BSTR bUseRelativePaths [in, optional, defaultvalue(VARIANT_TRUE)] bUseRelativePaths is a parameter of type VARIANT_BOOL bCreateThumnbail [in, optional, defaultvalue(VARIANT_TRUE)] bCreateThumnbail is a parameter of type VARIANT_BOOL
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
Saves the GlobeDocument that is Open and any changes that have been made to it to a new GlobeDocument with the specified filename. The filename that is supplied must be valid and include the *.3dd extension.
[C#]
private void Save_GlobeDocument_FromEngine(IGlobe pGlobe)
{
IGlobeDocument pGlobeDocument = new GlobeDocumentClass();
pGlobeDocument.GlobeObject = pGlobe;
//Save the globe document
pGlobeDocument.SaveAs("C:\\temp\\myGlobeDocument.3dd", true, false);
}