Exemple #1
0
        public static HOCRBox Deserialize(Stream stream)
        {
            HOCRBox hocrBox = new HOCRBox();

            hocrBox.DeserializeOcr(HSerializedItem.Deserialize(stream));
            return(hocrBox);
        }
Exemple #2
0
        public HOCRBox Clone()
        {
            HSerializedItem serializedItemHandle = this.SerializeOcr();
            HOCRBox         hocrBox = new HOCRBox();

            hocrBox.DeserializeOcr(serializedItemHandle);
            serializedItemHandle.Dispose();
            return(hocrBox);
        }