23 references to GetPropertyItem
PresentationFramework-SystemDrawing (1)
SystemDrawingExtension.cs (1)
82PropertyItem? piComment = bitmap.GetPropertyItem(37510);
System.Drawing.Common.Tests (22)
System\Drawing\ImageTests.cs (18)
100PropertyItem item = bitmap.GetPropertyItem(PropertyTagExifUserComment); 114AssertExtensions.Throws<ArgumentException>(null, () => bitmap.GetPropertyItem(propid)); 124AssertExtensions.Throws<ArgumentException>(null, () => bitmap.GetPropertyItem(propid)); 131PropertyItem item1 = source.GetPropertyItem(PropertyTagExifUserComment); 132PropertyItem item2 = source.GetPropertyItem(PropertyTagChrominanceTable); 133PropertyItem item3 = source.GetPropertyItem(PropertyTagLuminanceTable); 141AssertExtensions.Throws<ArgumentException>(null, () => bitmap.GetPropertyItem(PropertyTagExifUserComment)); 146AssertExtensions.Throws<ArgumentException>(null, () => bitmap.GetPropertyItem(PropertyTagLuminanceTable)); 151AssertExtensions.Throws<ArgumentException>(null, () => bitmap.GetPropertyItem(PropertyTagChrominanceTable)); 161AssertExtensions.Throws<ArgumentException>(null, () => bitmap.GetPropertyItem(PropertyTagExifUserComment)); 166AssertExtensions.Throws<ArgumentException>(null, () => bitmap.GetPropertyItem(PropertyTagLuminanceTable)); 171AssertExtensions.Throws<ArgumentException>(null, () => bitmap.GetPropertyItem(PropertyTagChrominanceTable)); 202PropertyItem item1 = source.GetPropertyItem(PropertyTagExifUserComment); 203PropertyItem item2 = source.GetPropertyItem(PropertyTagChrominanceTable); 204PropertyItem item3 = source.GetPropertyItem(PropertyTagLuminanceTable); 233PropertyItem item = source.GetPropertyItem(PropertyTagExifUserComment); 291PropertyItem item = bitmap.GetPropertyItem(PropertyTagExifUserComment); 434PropertyItem item = source.GetPropertyItem(PropertyTagExifUserComment);
System\Drawing\Imaging\PropertyItemTests.cs (4)
17PropertyItem item = bitmap.GetPropertyItem(PropertyTagLuminanceTable); 29PropertyItem item = bitmap.GetPropertyItem(PropertyTagLuminanceTable); 41PropertyItem item = bitmap.GetPropertyItem(PropertyTagLuminanceTable); 58PropertyItem item = bitmap.GetPropertyItem(PropertyTagLuminanceTable);