I am looking to search many PDF's looking for a certain TEXT and saving the Page# of this text to db table.
While I did find this example on the Telerik Website, it does NOT compile for me.
using Telerik.Windows.Documents.Fixed.FormatProviders.Pdf;
int pageBegin = -1;
var provider = new PdfFormatProvider();
var document = provider.Import(File.ReadAllBytes(@"Test.pdf"));
var search = new TextSearch(document); // I get a compile error here stating TextSearch is inaccessible due to it's protection level.
var result = search.FindAll("Lorem", TextSearchOptions.Default);
foreach (var resultItem in result)
{
var rect = resultItem.GetWordBoundingRect();
var page = resultItem.GetResultPage();
pageBegin = page;
var editor = new FixedContentEditor(page);
//editor.DrawRectangle(rect);
}
File.WriteAllBytes(@"result.pdf", provider.Export(document));
return pageBegin;
I have a ScatterSeries within a RadChartView which is bound to a BindingList of x-y plot points.
When the BindingList updates, the points on the chart are re-plotted , but are being plotted in the middle of the chart, with a large amount of whitespace between the extreme values and the bounds of the chart. The Maximum and Minimum axes values are seemingly decided automatically and at random (if there is some logic to amount of the whitespace being applied, I cannot discern it).
I would like the leftmost plot ploint to be flush with the leftmost axis, the right most plot point to beflush with the right axis, etc. (i.e. I want the axes to be "tight" around the data).
I can do this manually for a known data set with the following code:
LinearAxis horizontalAxis = radChartView1.Axes.Get<LinearAxis>(0);
// or verticalAxis = series.VerticalAxis as LinearAxis;
horizontalAxis.Minimum = 1;
horizontalAxis.Maximum = 7;
Is there a way I can apply this to ensure that the axes are flush with the outermost data points every time the chart is updated due to the binding? Is there a way to do this without manually setting values for the axes Maximum and Minimum?
I tried applying the following setting to the axis but it does not seem to produce the desired effect; there is still whitespace between the plotted data and the left and right borders of the plot.
horizontal.RangeExtendDirection = NumericalAxisRangeExtendDirection.None;
I fixed the array issue but its still not importing. I might figure it out but if anyone knows what might be wrong a solution would be appricieted. All the numbers seem to be correct in the string when i look it over and the size.
Exception thrown: 'Telerik.WinControls.UI.Scheduler.ICalendar.CalendarParseException'
public async void exportSchedulerDataFile()
{
string exportResult = this.workScheduler.Export(new SchedulerICalendarExporter());
await FirebaseHelper.uploadCalenderFile(exportResult);
}
public async Task importSchedulerDataFile()
{
string s = await FirebaseHelper.downloadCalanderFile();
workScheduler.Import(s, new SchedulerICalendarImporter());
Console.WriteLine("DID IT WORK?");
workScheduler.Refresh();
}
Im not sure what im doing wrong here.
I'm able to find an appointment from a search box using the following code.
Private Sub FindAppointment()The BringAppointmentIntoView works just fine - but I need the appointment that has been found to change color so the user can find it amongst all of the other appointments showing for that week.
Is there a way I can change the back color or otherwise highlight the appointment and if so, how can I reset it when the user performs a search for another appointment?
Does anyone else see a very slow load time for the RadSpreadsheetRibbonBar?
My main spreadsheet control loads really quickly (<0.5 sec) but the first time the RadSpreadsheetRibbonBar is loaded, it takes a further 4-5 sec, which is a poor user experience.
It's so bad that, by default, I load the spreadsheet without the ribbon bar, and only load it on user request, and still have to pop-up a little 'processing' dialog so the user knows something is happening.
Does anyonje else see this?
(Winforms, Win 10, i7 processor, loads of memory)
When I select an item using radTreeView and press any key, I want to enter Editmode immediately.
Please let me know if there is any way.
We are attempting to make use of ChartView to plot a large number of data points, which display live data which is being received one point at a time. We are experiencing poor performance, with the charts rendering extremely slowly and presence of the resultant chart causing the application performance to drastically deteriorate, (presumably because of the large number of graphical elements present on screen).
We are attempting to implement a LineSeries (or FastLineSeries) which can display up to 90,000 data points.
Is there any guidance available regarding the capability of ChartView to plot a large number of points? Is plotting this many points something ChartView is capable of?
I believe that Telerik UI for WPF contains functionality to reduce the number of plotted points using sampling. Is there similar functionality available for Telerik UI for WinForms? Can you suggest an approach to implement similar functionality in a WinForms application?
For our requirements, one point is added to our dataset at a time; the remainder of the dataset remains fixed. Presumably, the entire chart is redrawn each time a new point is added, which is computationally expensive. Is there any way we can improve the chart rendering performance by removing the need to redraw the entire chart, adding only the novel data points to a pre-existing drawn series?
Are there performance considerations one should take into account when deciding whether to take a data-binding-based approach or to directly add the DataPoints?
Hi Telerik support,
I've created a sample application with a gridview containing more combobox columns. In this forum I found some code snippets to auto open the dropdown box when one navigates to the cell (with the keybord arrow keys).
It seems to work fine except for one scenario..
click (with mouse) on the first column (which is readonly), then navigate to the next column with the arrowkey right. The focus jumps to the third column. If I navigate from the third column to the second (also with arrowkeys), it's ok.
Please try this also with column nr. 5 and 6. (so click on 5 and navigate to 6). After the application newly started, it also jumps away. But only the first time.
Can you help me out of this behaviour?
Kind regards,
Daniel Kaya