Пример #1
0
        /// <summary>
        /// Initializes a new instance of the PdfRenderer class.
        /// </summary>
        public PdfRenderer()
        {
            SetStyle(ControlStyles.OptimizedDoubleBuffer | ControlStyles.ResizeRedraw | ControlStyles.AllPaintingInWmPaint, true);

            TabStop = true;

            _toolTip = new ToolTip();

            Markers = new PdfMarkerCollection();
            Markers.CollectionChanged += Markers_CollectionChanged;
        }
Пример #2
0
 public PdfRenderer()
 {
     IsTabStop = true;
     Markers   = new PdfMarkerCollection();
     Markers.CollectionChanged += Markers_CollectionChanged;
 }