Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

eaa467d8 b65d 460e f764 3408bc115699

haplokuon edited this page May 6, 2023 · 1 revision

Build(Dimension) Method

netDxf 3.0.0 Library

Creates a block that represents the drawing of the specified dimension.

Definition

Namespace: netDxf.Entities
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public static Block Build(
	Dimension dim
)

VB

Public Shared Function Build ( 
	dim As Dimension
) As Block

C++

public:
static Block^ Build(
	Dimension^ dim
)

F#

static member Build : 
        dim : Dimension -> Block 

Parameters

  Dimension
Dimension from which the block will be created.

Return Value

Block
A block that represents the specified dimension.

Remarks

By the fault the block will have the name "DimBlock". The block's name is irrelevant when the dimension belongs to a document, it will be automatically renamed to accommodate to the nomenclature of the DXF.
The dimension block creation only supports a limited number of dimension style properties. Also the list of dimension style overrides associated with the specified dimension will be applied where necessary.

See Also

Reference

DimensionBlock Class
Build Overload
netDxf.Entities Namespace

Clone this wiki locally