예제 #1
0
        public virtual void SetAndGetContentsAsCaptionTest()
        {
            PdfLineAnnotation pdfLineAnnotation = new PdfLineAnnotation(new PdfDictionary());
            bool contentsAsCaption = true;

            pdfLineAnnotation.SetContentsAsCaption(contentsAsCaption);
            NUnit.Framework.Assert.AreEqual(contentsAsCaption, pdfLineAnnotation.GetContentsAsCaption());
        }
예제 #2
0
        public virtual void GetContentsAsCaptionNullTest()
        {
            PdfLineAnnotation pdfLineAnnotation = new PdfLineAnnotation(new PdfDictionary());

            NUnit.Framework.Assert.IsFalse(pdfLineAnnotation.GetContentsAsCaption());
        }