Hide Table of Contents
GetSheetFormatPath Method (ISwDMDocument13)

Gets the path and filename of the sheet format used for the specified sheet.

.NET Syntax

Visual Basic (Declaration) 
Function GetSheetFormatPath( _
   ByVal SheetName As System.String, _
   ByRef FormatPath As System.String _
) As System.Integer
Visual Basic (Usage) 
Dim instance As ISwDMDocument13
Dim SheetName As System.String
Dim FormatPath As System.String
Dim value As System.Integer
 
value = instance.GetSheetFormatPath(SheetName, FormatPath)
C# 
System.int GetSheetFormatPath( 
   System.string SheetName,
   out System.string FormatPath
)
C++/CLI 
System.int GetSheetFormatPath( 
&   System.String^ SheetName,
&   [Out] System.String^ FormatPath
) 

Parameters

SheetName
Sheet name
FormatPath
Path and filename of the sheet format

Return Value

Result as defined in swSheetFormatPathResult

Example

Remarks

This method only supports documents saved in SOLIDWORKS 2009 and later. An empty string is returned for documents saved in earlier versions of SOLIDWORKS.

Before calling this method, call ISwDMDocument4::GetActiveSheetName or ISwDMDocument6::GetSheetNames.

 

See Also

Availability

SOLIDWORKS Document Manager 2009 SP0


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   GetSheetFormatPath Method (ISwDMDocument13)
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2021 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.