## PlainTextDocument(*string*) {#constructor_2} يُنشئ مستند نص عادي من ملف. يكتشف تنسيق الملف تلقائيًا. ```csharp public PlainTextDocument(string fileName) ``` | معامل | يكتب | وصف | | --- | --- | ...... ```csharp Document doc = new Document(); DocumentBuilder...AreEqual("Hello world!", plaintext.Text.Trim()); ``` ### أنظر أيضا * class...