コード例 #1
0
        private void drag_area_tracker_OnDragStarted(bool button_left_pressed, bool button_right_pressed, Point mouse_down_point)
        {
            PDFRendererControl pdf_renderer_control = GetPDFRendererControl();
            PDFDocument        pdf_document         = pdf_renderer_control?.GetPDFDocument();

            ASSERT.Test(pdf_document != null);

            if (pdf_document != null)
            {
                WordList words = pdf_document.GetOCRText(page);
                text_selection_manager.OnDragStarted(text_layer_selection_mode, words, ActualWidth, ActualHeight, button_left_pressed, button_right_pressed, mouse_down_point);
            }
        }
コード例 #2
0
 private void drag_area_tracker_OnDragStarted(bool button_left_pressed, bool button_right_pressed, Point mouse_down_point)
 {
     WordList words          = pdf_renderer_control_stats.pdf_document.PDFRenderer.GetOCRText(page);
     WordList selected_words = text_selection_manager.OnDragStarted(text_layer_selection_mode, words, ActualWidth, ActualHeight, button_left_pressed, button_right_pressed, mouse_down_point);
 }