CreateSheetByTemplate Method (IDocument)
Creates a Sheet based on a Sheet in another file.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function CreateSheetByTemplate( _
BSTR Name As System.String, _
BSTR TemplateFileName As System.String, _
BSTR TemplateSheetName As System.String _
) As Sheet |
Parameters
- Name
- Name of the Sheet to create
- TemplateFileName
Path and file name that contains a Sheet on which to base this Sheet; the filename extension of the file must be .dwt, .dwg, or .dxf
- TemplateSheetName
- Name of a Sheet in TemplateFileName to use as the template for this Sheet
Parameters
- Sheet[out] or Return Value
- Sheet
See Also
Availability
DraftSight V1R5.0