Yes, a good suggestion. I have managed to retrieve the image rating this way using
Dim pItem As PropertyItem = image.GetPropertyItem(18246)
however I can't seem to find a way of extracting the image (descriptive) tags - they don't appear to be in the PropertyItem metadata.
BTW, I came across...
The project is a Form based picture viewer, but I also need to read the image metadata which is done with JpegBitmapDecoder, BitmapFrame, InPlaceBitmapMetadataWriter - part of the System.Windows.Media.Imaging namespace.
Sorry if I'm misunderstanding the co-existance of WPF and Forms....
I have an odd problem in my project.
With the following imported namespaces in my project :
.. I cannot add..
If I remove the Forms and Reflection namespaces, I CAN add add the Media.Imaging...
I'm having some issues with my app, due to events not being processed whilst images are loading.
I'm loading camera images over a WLAN connection, so 1-2Mb files are taking a good 4-8 seconds to load. The problem is that there are various events (key presses, timers) that I would...
Couldn't see how VB.NET allows you to get the SubItem Index (column index) following a click event in a ListView.
Used the following function to resolve this issue :
Private Function GetSubItemIndex(ByVal x As Integer, ByVal lv As ListView) As Integer
Dim c As Integer = 0
Dim col As...
No worries, cheers !
I'll need to do this sort of search a few times, so as I can't seem to get .indexof to work, I was going to use a function that I can send collections to (either ColumnHeaderCollection or ListViewItemCollection) and search for a string match in the header/item :
Thanks. Just to make it exactly clear, I'm reading data from a text file and need to place it in the correct columns in a ListView.
I've been using the raw methods you mentioned, but wanted to try and use some of the integrated search functions. I mean, thats what they're there for !!
I'm trying to search for a string within a column header collection, but .contains and .indexof expect a ColumnHeader datatype. How to search for a string ?
I thought maybe .containskey and .indexofkey were maybe the way to do it, but this does not work either, for example ...
On a ListView with View type Details, I need to check to see if a specific column exists and at what position it is.
e.g. you can't just use :
...as these require a variable of type...