Fired before a new document is created either using the SolidWorks API or the SolidWorks user-interface.
.NET Syntax
Visual Basic (Declaration) | |
---|
Public Delegate Function DSldWorksEvents_FileNewPreNotifyEventHandler( _
ByVal DocType As Integer, _
ByVal TemplateName As String _
) As Integer |
Visual Basic (Usage) | |
---|
Dim instance As New DSldWorksEvents_FileNewPreNotifyEventHandler(AddressOf HandlerMethod)
|
C# | |
---|
public delegate int DSldWorksEvents_FileNewPreNotifyEventHandler(
int DocType,
string TemplateName
) |
C++/CLI | |
---|
public delegate int DSldWorksEvents_FileNewPreNotifyEventHandler(
& int DocType,
& String^ TemplateName
) |
Parameters
- DocType
- Document type as defined by swDocumentTypes_e
- TemplateName
- Template path name or file extension
Remarks
Availability
SolidWorks 2007 SP4, Revision Number 15.4