HasSheet Method (IDocument)

HasSheet Method (IDocument) | Send Feedback
See Also

HasSheet[out]
  True if the document contains the specified Sheet, false if not

Name
  Name of the Sheet

Gets whether the document contains the specified Sheet.

# Syntax

Visual Basic |
--- | ---
    Function HasSheet( _
       ByVal Name As System.String _
    ) As System.Boolean

C# |
--- | ---
    System.bool HasSheet(
       System.string Name
    )

JavaScript |
--- | ---
    HasSheet(
       Name : String
    ) : Boolean

COM native C++ |
--- | ---
    HRESULT HasSheet(
       BSTR Name,
       VARIANT_BOOL* HasSheet
    )

C++ |
--- | ---
    DSRESULT HasSheet(
       const dsString& Name,
       bool* HasSheet
    )

#### Parameters

Name
  Name of the Sheet
HasSheet[out] or Return Value
  True if the document contains the specified Sheet, false if not

# See Also

####

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

# Availability

DraftSight V1R5.0