public virtual void SetDefaultJustificationTest() { PdfDocument outputDoc = CreateDocument(); PdfAcroForm acroForm = PdfAcroForm.GetAcroForm(outputDoc, true); acroForm.SetDefaultJustification(14); bool isModified = acroForm.GetPdfObject().IsModified(); bool isReleaseForbidden = acroForm.GetPdfObject().IsReleaseForbidden(); PdfObject defaultJustification = acroForm.GetPdfObject().Get(PdfName.Q); outputDoc.Close(); NUnit.Framework.Assert.AreEqual(new PdfNumber(14), defaultJustification); NUnit.Framework.Assert.IsTrue(isModified); NUnit.Framework.Assert.IsTrue(isReleaseForbidden); }