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

643b6c0b a030 49e6 9464 8570d5f4db19

haplokuon edited this page May 6, 2023 · 1 revision

Build(OrdinateDimension, 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(
	OrdinateDimension dim,
	string name
)

VB

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

C++

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

F#

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

Parameters

  OrdinateDimension
OrdinateDimension 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