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 System.Integer, _
ByVal TemplateName As System.String _
) As System.Integer |
C# | |
---|
public delegate System.int DSldWorksEvents_FileNewPreNotifyEventHandler(
System.int DocType,
System.string TemplateName
) |
C++/CLI | |
---|
public delegate System.int DSldWorksEvents_FileNewPreNotifyEventHandler(
& System.int DocType,
& System.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