Show / Hide Table of Contents

Class BlockRecord

Represent the record of a block in the tables section.

Inheritance
System.Object
DxfObject
BlockRecord
Implements
IHasXData
Inherited Members
DxfObject.CodeName
DxfObject.Handle
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)
Namespace: netDxf.Blocks
Assembly: CADability.dll
Syntax
public class BlockRecord : DxfObject, IHasXData

Properties

| Improve this Doc View Source

AllowExploding

Gets or sets if the block can be exploded.

Declaration
public bool AllowExploding { get; set; }
Property Value
Type Description
System.Boolean
Remarks

This property is only compatible with DXF version AutoCad2007 and upwards.

| Improve this Doc View Source

DefaultUnits

Gets or sets the default block units.

Declaration
public static DrawingUnits DefaultUnits { get; set; }
Property Value
Type Description
DrawingUnits
Remarks

These are the units that all new blocks will use as default.

| Improve this Doc View Source

IsForInternalUseOnly

Gets if the block record is for internal use only.

Declaration
public bool IsForInternalUseOnly { get; }
Property Value
Type Description
System.Boolean
Remarks

All blocks which name starts with "*" are for internal use and should not be modified.

| Improve this Doc View Source

Layout

Gets the associated Layout.

Declaration
public Layout Layout { get; }
Property Value
Type Description
Layout
| Improve this Doc View Source

Name

Gets the name of the block record.

Declaration
public string Name { get; }
Property Value
Type Description
System.String
Remarks

Block record names are case insensitive.
The block which name starts with "*" are for internal purpose only.

| Improve this Doc View Source

Owner

Gets the owner of the actual DXF object.

Declaration
public BlockRecords Owner { get; }
Property Value
Type Description
BlockRecords
| Improve this Doc View Source

ScaleUniformly

Gets or sets if the block must be scaled uniformly.

Declaration
public bool ScaleUniformly { get; set; }
Property Value
Type Description
System.Boolean
Remarks

This property is only compatible with DXF version AutoCad2007 and upwards.

| Improve this Doc View Source

Units

Gets or sets the block insertion units.

Declaration
public DrawingUnits Units { get; set; }
Property Value
Type Description
DrawingUnits
| Improve this Doc View Source

XData

Gets the block record XDataDictionary.

Declaration
public XDataDictionary XData { get; }
Property Value
Type Description
XDataDictionary

Methods

| Improve this Doc View Source

OnXDataAddAppRegEvent(ApplicationRegistry)

Declaration
protected virtual void OnXDataAddAppRegEvent(ApplicationRegistry item)
Parameters
Type Name Description
ApplicationRegistry item
| Improve this Doc View Source

OnXDataRemoveAppRegEvent(ApplicationRegistry)

Declaration
protected virtual void OnXDataRemoveAppRegEvent(ApplicationRegistry item)
Parameters
Type Name Description
ApplicationRegistry item
| Improve this Doc View Source

ToString()

Converts the value of this instance to its equivalent string representation.

Declaration
public override string ToString()
Returns
Type Description
System.String

The string representation.

Overrides
DxfObject.ToString()

Events

| Improve this Doc View Source

XDataAddAppReg

Declaration
public event XDataAddAppRegEventHandler XDataAddAppReg
Event Type
Type Description
XDataAddAppRegEventHandler
| Improve this Doc View Source

XDataRemoveAppReg

Declaration
public event XDataRemoveAppRegEventHandler XDataRemoveAppReg
Event Type
Type Description
XDataRemoveAppRegEventHandler

Implements

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