BitMiracle.LibTiff.Classic.Tiff.createAnonFieldInfo C# (CSharp) Method

createAnonFieldInfo() private static method

private static createAnonFieldInfo ( TiffTag tag, TiffType field_type ) : TiffFieldInfo
tag TiffTag
field_type TiffType
return TiffFieldInfo
        private static TiffFieldInfo createAnonFieldInfo(TiffTag tag, TiffType field_type)
        {
            TiffFieldInfo fld = new TiffFieldInfo(tag, TiffFieldInfo.Variable2,
                TiffFieldInfo.Variable2, field_type, FieldBit.Custom, true, true, null);

            // note that this name is a special sign to Close() and
            // setupFieldInfo() to free the field
            fld.Name = string.Format(CultureInfo.InvariantCulture, "Tag {0}", tag);
            return fld;
        }
Tiff