Show / Hide Table of Contents

Class DimensionBlock

Holds methods to build the dimension blocks.

Inheritance
System.Object
DimensionBlock
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: netDxf.Entities
Assembly: CADability.dll
Syntax
public static class DimensionBlock

Methods

| Improve this Doc View Source

Build(AlignedDimension, String)

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

Declaration
public static Block Build(AlignedDimension dim, string name)
Parameters
Type Name Description
AlignedDimension dim

AlignedDimension from which the block will be created.

System.String name

The blocks name.

Returns
Type Description
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 DimensionStyle properties. Also the list of DimensionStyleOverride associated with the specified dimension will be applied where necessary.

| Improve this Doc View Source

Build(Angular2LineDimension, String)

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

Declaration
public static Block Build(Angular2LineDimension dim, string name)
Parameters
Type Name Description
Angular2LineDimension dim

Angular2LineDimension from which the block will be created.

System.String name

The blocks name.

Returns
Type Description
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 DimensionStyle properties. Also the list of DimensionStyleOverride associated with the specified dimension will be applied where necessary.

| Improve this Doc View Source

Build(Angular3PointDimension, String)

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

Declaration
public static Block Build(Angular3PointDimension dim, string name)
Parameters
Type Name Description
Angular3PointDimension dim

Angular3PointDimension from which the block will be created.

System.String name

The blocks name.

Returns
Type Description
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 DimensionStyle properties. Also the list of DimensionStyleOverride associated with the specified dimension will be applied where necessary.

| Improve this Doc View Source

Build(DiametricDimension, String)

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

Declaration
public static Block Build(DiametricDimension dim, string name)
Parameters
Type Name Description
DiametricDimension dim

DiametricDimension from which the block will be created.

System.String name

The blocks name.

Returns
Type Description
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 DimensionStyle properties. Also the list of DimensionStyleOverride associated with the specified dimension will be applied where necessary.

| Improve this Doc View Source

Build(Dimension)

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

Declaration
public static Block Build(Dimension dim)
Parameters
Type Name Description
Dimension dim

Dimension from which the block will be created.

Returns
Type Description
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 DimensionStyle properties. Also the list of DimensionStyleOverride associated with the specified dimension will be applied where necessary.

| Improve this Doc View Source

Build(Dimension, String)

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

Declaration
public static Block Build(Dimension dim, string name)
Parameters
Type Name Description
Dimension dim

Dimension from which the block will be created.

System.String name

The blocks name.

Returns
Type Description
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 DimensionStyle properties. Also the list of DimensionStyleOverride associated with the specified dimension will be applied where necessary.

| Improve this Doc View Source

Build(LinearDimension, String)

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

Declaration
public static Block Build(LinearDimension dim, string name)
Parameters
Type Name Description
LinearDimension dim

LinearDimension from which the block will be created.

System.String name

The blocks name.

Returns
Type Description
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 DimensionStyle properties. Also the list of DimensionStyleOverride associated with the specified dimension will be applied where necessary.

| Improve this Doc View Source

Build(OrdinateDimension, String)

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

Declaration
public static Block Build(OrdinateDimension dim, string name)
Parameters
Type Name Description
OrdinateDimension dim

OrdinateDimension from which the block will be created.

System.String name

The blocks name.

Returns
Type Description
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 DimensionStyle properties. Also the list of DimensionStyleOverride associated with the specified dimension will be applied where necessary.

| Improve this Doc View Source

Build(RadialDimension, String)

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

Declaration
public static Block Build(RadialDimension dim, string name)
Parameters
Type Name Description
RadialDimension dim

RadialDimension from which the block will be created.

System.String name

The blocks name.

Returns
Type Description
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 DimensionStyle properties. Also the list of DimensionStyleOverride associated with the specified dimension will be applied where necessary.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX