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

8a759908 467b dc27 f895 0bf6cf594b75

haplokuon edited this page May 6, 2023 · 1 revision

Block Property

netDxf 3.0.0 Library

Gets the block that contains the entities that make up the dimension picture.

Definition

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

C#

public Block Block { get; set; }

VB

Public Property Block As Block
	Get
	Set

C++

public:
property Block^ Block {
	Block^ get ();
	void set (Block^ value);
}

F#

member Block : Block with get, set

Property Value

Block

Remarks

Set this value to null to force the program that reads the resulting DXF file to generate the dimension drawing block, some programs do not even care about this block and will always generate their own dimension drawings.
You can even use your own dimension drawing setting this value with the resulting block. The assigned block name is irrelevant, it will be automatically modified to accommodate the naming conventions of the blocks for dimension (*D#).
The block will be overwritten when adding the dimension to a DxfDocument if BuildDimensionBlocks is set to true.

See Also

Reference

Dimension Class
netDxf.Entities Namespace

Clone this wiki locally