| Visual Basic | |
|---|---|
Function CopySheet( _ ByVal Name As System.String, _ ByVal SheetToCopy As System.String _ ) As Sheet | |
| C# | |
|---|---|
Sheet CopySheet( System.string Name, System.string SheetToCopy ) | |
| JavaScript | |
|---|---|
CopySheet( Name : String, SheetToCopy : String ) : dsSheet | |
| COM native C++ | |
|---|---|
HRESULT CopySheet( BSTR Name, BSTR SheetToCopy, ISheet** Sheet ) | |
| C++ | |
|---|---|
DSRESULT CopySheet( const dsString& Name, const dsString& SheetToCopy, dsSheet** Sheet ) | |
Parameters
- Name
- Name of the new sheet to create
- SheetToCopy
- Name of the existing sheet to copy to create the new sheet
- Sheet[out] or Return Value
- New Sheet
IDocument Interface
IDocument Members
IDocument::CreateSheet Method ()
IDocument::CreateSheetByTemplate Method ()
IDocument::GetSheet Method ()
IDocument::GetSheets Method ()
IDocument::HasSheet Method ()
IDocument::RemoveSheet Method ()
IDocument Members
IDocument::CreateSheet Method ()
IDocument::CreateSheetByTemplate Method ()
IDocument::GetSheet Method ()
IDocument::GetSheets Method ()
IDocument::HasSheet Method ()
IDocument::RemoveSheet Method ()
DraftSight V1R5.0
Syntax