GetBlockDefinition Method (IDocument)

GetBlockDefinition Method (IDocument) | Send Feedback
See Also

BlockDefinition[out]
  Block definition

BlockName
  Name of the Block definition

Gets the specified Block definition for the document.

# Syntax

Visual Basic |
--- | ---
    Function GetBlockDefinition( _
       ByVal BlockName As System.String _
    ) As BlockDefinition

C# |
--- | ---
    BlockDefinition GetBlockDefinition(
       System.string BlockName
    )

JavaScript |
--- | ---
    GetBlockDefinition(
       BlockName : String
    ) : dsBlockDefinition

COM native C++ |
--- | ---
    HRESULT GetBlockDefinition(
       BSTR BlockName,
       IBlockDefinition** BlockDefinition
    )

C++ |
--- | ---
    DSRESULT GetBlockDefinition(
       const dsString& BlockName,
       dsBlockDefinition** BlockDefinition
    )

#### Parameters

BlockName
  Name of the Block definition
BlockDefinition[out] or Return Value
  Block definition

# See Also

####

IDocument Interface
IDocument Members
IDocument::GetBlockDefinitions Method ()
IDocument::HasBlockDefinition Method ()
IDocument::CreateBlockDefinition Method ()

# Availability

DraftSight V1R5.0