Creates a block from the content of a
document.
Namespace:
DXFReaderNET.Blocks
Assembly:
DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax public static Block Create(
DxfDocument doc,
string name
)
Public Shared Function Create (
doc As DxfDocument,
name As String
) As Block
public:
static Block^ Create(
DxfDocument^ doc,
String^ name
)
static member Create :
doc : DxfDocument *
name : string -> Block
STATIC METHOD Create(
doc AS DxfDocument,
name AS STRING
) AS Block
Parameters
- doc
- Type: DXFReaderNETDxfDocument
A DxfDocument instance. - name
- Type: SystemString
Name of the new block.
Return Value
Type:
BlockThe block build from the
document content.
Remarks Only the entities contained in ModelSpace will make part of the block.
See Also