ApiExamples.ExDocument.HyphenationOptionsDefaultValues C# (CSharp) Метод

HyphenationOptionsDefaultValues() приватный Метод

private HyphenationOptionsDefaultValues ( ) : void
Результат void
        public void HyphenationOptionsDefaultValues()
        {
            Document doc = new Document();
            
            MemoryStream dstStream = new MemoryStream();
            doc.Save(dstStream, SaveFormat.Docx);

            Assert.AreEqual(false, doc.HyphenationOptions.AutoHyphenation);
            Assert.AreEqual(0, doc.HyphenationOptions.ConsecutiveHyphenLimit);
            Assert.AreEqual(360, doc.HyphenationOptions.HyphenationZone); // 0.25 inch
            Assert.AreEqual(true, doc.HyphenationOptions.HyphenateCaps);
        }
ExDocument