Beispiel #1
0
        private void loadBorderEffect()
        {
            PDFDictionary be = Dictionary["BE"] as PDFDictionary;

            if (be != null)
            {
                _borderEffect = new AnnotationBorderEffect(be);
            }
            else
            {
                _borderEffect = new AnnotationBorderEffect();
                Dictionary.AddItem("BE", _borderEffect.GetDictionary());
            }
            _borderEffect.ChangedBorderEffect += changedBorderEffect;
        }
Beispiel #2
0
        private void loadBorderEffect()
        {
            PDFDictionary dict = Dictionary["BE"] as PDFDictionary;

            if (dict == null)
            {
                _borderEffect = new AnnotationBorderEffect();
                Dictionary.AddItem("BE", _borderEffect.GetDictionary());
            }
            else
            {
                _borderEffect = new AnnotationBorderEffect(dict);
            }
            _borderEffect.ChangedBorderEffect += new ChangedBorderEffectEventHandler(changedBorderEffect);
        }