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

3036ed0f a426 b612 5b71 4a0a259182f3

haplokuon edited this page May 6, 2023 · 1 revision

Build(Dimension, String) 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,
	string name
)

VB

Public Shared Function Build ( 
	dim As Dimension,
	name As String
) As Block

C++

public:
static Block^ Build(
	Dimension^ dim, 
	String^ name
)

F#

static member Build : 
        dim : Dimension * 
        name : string -> Block 

Parameters

  Dimension
Dimension from which the block will be created.
  String
The blocks name.

Return Value

Block
A block that represents the specified dimension.

Remarks

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