Packages

 

com.aspose.cad.fileformats.dgn

Class DgnElementMetadata



  • public class DgnElementMetadata
    extends Object

    Represents summary of a file element was read

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      Color getColor()
      Gets or sets Color corresponding to Color index
      byte getColorIndex()
      Gets or sets Color index, (0-255) that indicates the element�s color in color table
      int getLevel()
      Gets or sets the level of a file element
      int getLineStyle()
      Gets or sets Line style
      byte getLineWeight()
      Gets or sets Line weight
      DgnElementProperties getProperties()
      Gets or sets properties
      byte[] getRaw()
      Gets or sets the Raw data of a file element without first 4 bytes
      int getType()
      Gets or sets the Type of a file element
      boolean hasDescription()
      Gets element can have description
      boolean isDeleted()
      Gets or sets a value indicating whether a file element was deleted
      boolean isPartOfCompound()
      Gets or sets a value indicating whether a file element is a part of compound element
      void setColor(Color value)
      Gets or sets Color corresponding to Color index
      void setColorIndex(byte value)
      Gets or sets Color index, (0-255) that indicates the element�s color in color table
      void setDeleted(boolean value)
      Gets or sets a value indicating whether a file element was deleted
      void setGraphicGroup(int value)
      Gets or sets graphic group of element
      void setLevel(int value)
      Gets or sets the level of a file element
      void setLineStyle(int value)
      Gets or sets Line style
      void setLineWeight(byte value)
      Gets or sets Line weight
      void setPartOfCompound(boolean value)
      Gets or sets a value indicating whether a file element is a part of compound element
      void setProperties(DgnElementProperties value)
      Gets or sets properties
      void setRaw(byte[] value)
      Gets or sets the Raw data of a file element without first 4 bytes
      void setType(int value)
      Gets or sets the Type of a file element
    • Constructor Detail

      • DgnElementMetadata

        public DgnElementMetadata()
    • Method Detail

      • getLevel

        public int getLevel()

        Gets or sets the level of a file element

      • setLevel

        public void setLevel(int value)

        Gets or sets the level of a file element

      • getType

        public int getType()

        Gets or sets the Type of a file element

      • setType

        public void setType(int value)

        Gets or sets the Type of a file element

      • isDeleted

        public boolean isDeleted()

        Gets or sets a value indicating whether a file element was deleted

      • setDeleted

        public void setDeleted(boolean value)

        Gets or sets a value indicating whether a file element was deleted

      • isPartOfCompound

        public boolean isPartOfCompound()

        Gets or sets a value indicating whether a file element is a part of compound element

      • setPartOfCompound

        public void setPartOfCompound(boolean value)

        Gets or sets a value indicating whether a file element is a part of compound element

      • setGraphicGroup

        public void setGraphicGroup(int value)

        Gets or sets graphic group of element

      • getColorIndex

        public byte getColorIndex()

        Gets or sets Color index, (0-255) that indicates the element�s color in color table

      • setColorIndex

        public void setColorIndex(byte value)

        Gets or sets Color index, (0-255) that indicates the element�s color in color table

      • getColor

        public Color getColor()

        Gets or sets Color corresponding to Color index

      • setColor

        public void setColor(Color value)

        Gets or sets Color corresponding to Color index

      • getLineWeight

        public byte getLineWeight()

        Gets or sets Line weight

      • setLineWeight

        public void setLineWeight(byte value)

        Gets or sets Line weight

      • getLineStyle

        public int getLineStyle()

        Gets or sets Line style

      • setLineStyle

        public void setLineStyle(int value)

        Gets or sets Line style

      • getRaw

        public byte[] getRaw()

        Gets or sets the Raw data of a file element without first 4 bytes

      • setRaw

        public void setRaw(byte[] value)

        Gets or sets the Raw data of a file element without first 4 bytes

      • hasDescription

        public boolean hasDescription()

        Gets element can have description

        Returns:
        mark that data contains additional description