iTextSharp.text.pdf.codec.TIFFField.GetAsChars C# (CSharp) Метод

GetAsChars() публичный Метод

public GetAsChars ( ) : char[]
Результат char[]
        public char[] GetAsChars() {
            return (char[])data;
        }

Usage Example

Пример #1
0
        static long[] GetArrayLongShort(TIFFDirectory dir, int tag)
        {
            TIFFField field = dir.GetField(tag);

            if (field == null)
            {
                return(null);
            }
            long[] offset;
            if (field.GetType() == TIFFField.TIFF_LONG)
            {
                offset = field.GetAsLongs();
            }
            else   // must be short
            {
                char[] temp = field.GetAsChars();
                offset = new long[temp.Length];
                for (int k = 0; k < temp.Length; ++k)
                {
                    offset[k] = temp[k];
                }
            }
            return(offset);
        }
All Usage Examples Of iTextSharp.text.pdf.codec.TIFFField::GetAsChars