DgnElementProperties
Contents
[
Hide
]Represents element properties
Constructors
| Constructor | Description |
|---|---|
| DgnElementProperties(int rawData, byte[] data) | Initializes a new instance of the DgnElementProperties class |
Methods
| Method | Description |
|---|---|
| getClassElement() | Gets class element |
| isLocked() | Gets a value indicating whether element is locked |
| isNew() | Gets a value indicating whether element is new |
| isModified() | Gets a value indicating whether element is modified |
| isAttributeDataPresent() | Gets a value indicating whether element has attribute data present |
| getOrientation() | Gets element orientation |
| isPlanar() | Gets a value indicating whether element is planar |
| isSnapable() | Gets a value indicating whether element could be snapped |
| getAttribute() | Gets or sets the Attribute data of a file element |
| setAttribute(byte[] value) | Gets or sets the Attribute data of a file element |
DgnElementProperties(int rawData, byte[] data)
public DgnElementProperties(int rawData, byte[] data)
Initializes a new instance of the DgnElementProperties class
Parameters:
| Parameter | Type | Description |
|---|---|---|
| rawData | int | raw data of property context |
getClassElement()
public short getClassElement()
Gets class element
Returns: short
isLocked()
public boolean isLocked()
Gets a value indicating whether element is locked
Returns: boolean
isNew()
public boolean isNew()
Gets a value indicating whether element is new
Returns: boolean
isModified()
public boolean isModified()
Gets a value indicating whether element is modified
Returns: boolean
isAttributeDataPresent()
public boolean isAttributeDataPresent()
Gets a value indicating whether element has attribute data present
Returns: boolean
getOrientation()
public int getOrientation()
Gets element orientation
Returns: int
isPlanar()
public boolean isPlanar()
Gets a value indicating whether element is planar
Returns: boolean
isSnapable()
public boolean isSnapable()
Gets a value indicating whether element could be snapped
Returns: boolean
getAttribute()
public byte[] getAttribute()
Gets or sets the Attribute data of a file element
Returns: byte[]
setAttribute(byte[] value)
public void setAttribute(byte[] value)
Gets or sets the Attribute data of a file element