RemoveSheet Method (IDocument)

RemoveSheet Method (IDocument) | Send Feedback
See Also

Name
  Name of the Sheet to delete from the document

Deletes the specified Sheet from the document.

# Syntax

Visual Basic |
--- | ---
    Sub RemoveSheet( _
       ByVal Name As System.String _
    )

C# |
--- | ---
    void RemoveSheet(
       System.string Name
    )

JavaScript |
--- | ---
    RemoveSheet(
       Name : String
    )

COM native C++ |
--- | ---
    HRESULT RemoveSheet(
       BSTR Name
    )

C++ |
--- | ---
    DSRESULT RemoveSheet(
       const dsString& Name
    )

#### Parameters

Name
  Name of the Sheet to delete from the document

# See Also

####

IDocument Interface
IDocument Members
IDocument::CopySheet Method ()
IDocument::CreateSheet Method ()
IDocument::CreateSheetByTemplate Method ()
IDocument::GetSheet Method ()
IDocument::GetSheets Method ()
IDocument::HasSheet Method ()

# Availability

DraftSight V1R5.0