コード例 #1
0
        //private readonly XSelectionListener_Forwarder xSelectionListener = new XSelectionListener_Forwarder();

        #endregion

        #region Constructor / Destructor

        /// <summary>
        /// static constructor for initializing system display DPI settings once
        /// </summary>
        static OoDrawPagesObserver()
        {
            double ppmX, ppmY;

            OoUtils.GetDeviceResolutionPixelPerMeter(out ppmX, out ppmY);
            PixelPerMeterX = ppmX;
            PixelPerMeterY = ppmY;
        }