RtfDomParser.RTFReader.Close C# (CSharp) 메소드

Close() 공개 메소드

public Close ( ) : void
리턴 void
        public void Close()
        {
            if( myReader != null )
            {
                myReader.Close();
                myReader = null ;
            }
        }

Usage Example

예제 #1
0
 /// <summary>
 /// load rtf file
 /// </summary>
 /// <param name="strFileName">file name</param>
 public void Load(string strFileName)
 {
     myEncoding = null;
     using (var reader = new RTFReader())
     {
         if (reader.LoadRTFFile(strFileName))
         {
             Load(reader);
             reader.Close();
         }
         reader.Close();
     }
 }
All Usage Examples Of RtfDomParser.RTFReader::Close