Packages

 

com.aspose.cad.fileformats.tiff.tifftagtypes

Class TiffASCIIType

    • Constructor Detail

      • TiffASCIIType

        public TiffASCIIType(int tagId)

        Initializes a new instance of the TiffASCIIType class.

        Parameters:
        tagId - The tag id.
    • Method Detail

      • getText

        public String getText()

        Gets or sets the text.

        Value: The text.
      • setText

        public void setText(String value)

        Gets or sets the text.

        Value: The text.
      • getCount

        public long getCount()

        Gets the count of elements.

        Value: The count of elements.
        Specified by:
        getCount in class TiffDataType
      • getTagType

        public int getTagType()

        Gets the tag type.

        Value: The tag type.
        Specified by:
        getTagType in class TiffDataType
      • getDataSize

        public long getDataSize()

        Gets the additional data size in bytes (in case the 12 bytes is not enough to fit the tag data).

        Value: The additional data size in bytes.
        Specified by:
        getDataSize in class TiffDataType
      • getValue

        public Object getValue()

        Gets or sets the value this data type contains.

        Specified by:
        getValue in class TiffDataType
        Throws:
        com.aspose.ms.System.ArgumentException - Only string is supported. Value: The value.
      • setValue

        public void setValue(Object value)

        Gets or sets the value this data type contains.

        Specified by:
        setValue in class TiffDataType
        Throws:
        com.aspose.ms.System.ArgumentException - Only string is supported. Value: The value.
      • writeAdditionalData

        public long writeAdditionalData(TiffStreamWriter dataStream)

        Writes the additional tag data.

        Specified by:
        writeAdditionalData in class TiffDataType
        Parameters:
        dataStream - The data stream.
        Returns:
        The actual bytes written.