Example #1
0
        public void RulerGetPositionFromPage()
        {
            tlog.Debug(tag, $"RulerGetPositionFromPage 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.GetPositionFromPage(1, out uint vloume, true);
                tlog.Debug(tag, "Position : " + result);

                testingTarget.Dispose();
            }

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