BitMiracle.LibTiff.Classic.TiffFieldInfo.TiffFieldInfo C# (CSharp) Method

TiffFieldInfo() public method

Initializes a new instance of the TiffFieldInfo class.
public TiffFieldInfo ( TiffTag tag, short readCount, short writeCount, TiffType type, short bit, bool okToChange, bool passCount, string name )
tag TiffTag The tag to describe.
readCount short The number of values to read when reading field information or /// one of , and .
writeCount short The number of values to write when writing field information /// or one of , and .
type TiffType The type of the field value.
bit short Index of the bit to use in "Set Fields Vector" when this instance /// is merged into field info collection. Take a look at class.
okToChange bool If true, then it is permissible to set the tag's value even /// after writing has commenced.
passCount bool If true, then number of value elements should be passed to /// method as second parameter (right after tag type AND /// before value itself).
name string The name (description) of the tag this instance describes.
        public TiffFieldInfo(TiffTag tag, short readCount, short writeCount,
            TiffType type, short bit, bool okToChange, bool passCount, string name)
        {
            m_tag = tag;
            m_readCount = readCount;
            m_writeCount = writeCount;
            m_type = type;
            m_bit = bit;
            m_okToChange = okToChange;
            m_passCount = passCount;
            m_name = name;
        }