Beispiel #1
0
        public void RulerGetTotalPages()
        {
            tlog.Debug(tag, $"RulerGetTotalPages START");

            using (DefaultRuler ruler = new DefaultRuler())
            {
                var testingTarget = new Ruler(ruler.SwigCPtr.Handle, false);
                Assert.IsNotNull(testingTarget, "Can't create success object Ruler.");
                Assert.IsInstanceOf <Ruler>(testingTarget, "Should return Ruler instance.");

                var result = testingTarget.GetTotalPages();
                tlog.Debug(tag, "Position : " + result);

                testingTarget.Dispose();
            }

            tlog.Debug(tag, $"RulerGetTotalPages END (OK)");
        }