CreateSheetByTemplate Method (IDocument)
Creates a Sheet based on a Sheet in another file.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function CreateSheetByTemplate( _
const dsString& Name As System.String, _
const dsString& TemplateFileName As System.String, _
const dsString& 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
- Sheet[out] or Return Value
- Sheet
See Also
Availability
DraftSight V1R5.0