25 references to GetPropertyItem
PresentationFramework-SystemDrawing (1)
SystemDrawingExtension.cs (1)
122PropertyItem piComment = img.GetPropertyItem(37510);
System.Drawing.Common (2)
System\Drawing\ImageInfo.cs (2)
42Imaging.PropertyItem? frameDelayItem = image.GetPropertyItem(PropertyTagFrameDelay); 85Imaging.PropertyItem? loopCountItem = image.GetPropertyItem(PropertyTagLoopCount);
System.Drawing.Common.Tests (22)
System\Drawing\ImageTests.cs (18)
98PropertyItem item = bitmap.GetPropertyItem(PropertyTagExifUserComment); 112AssertExtensions.Throws<ArgumentException>(null, () => bitmap.GetPropertyItem(propid)); 122AssertExtensions.Throws<ArgumentException>(null, () => bitmap.GetPropertyItem(propid)); 129PropertyItem item1 = source.GetPropertyItem(PropertyTagExifUserComment); 130PropertyItem item2 = source.GetPropertyItem(PropertyTagChrominanceTable); 131PropertyItem item3 = source.GetPropertyItem(PropertyTagLuminanceTable); 139AssertExtensions.Throws<ArgumentException>(null, () => bitmap.GetPropertyItem(PropertyTagExifUserComment)); 144AssertExtensions.Throws<ArgumentException>(null, () => bitmap.GetPropertyItem(PropertyTagLuminanceTable)); 149AssertExtensions.Throws<ArgumentException>(null, () => bitmap.GetPropertyItem(PropertyTagChrominanceTable)); 159AssertExtensions.Throws<ArgumentException>(null, () => bitmap.GetPropertyItem(PropertyTagExifUserComment)); 164AssertExtensions.Throws<ArgumentException>(null, () => bitmap.GetPropertyItem(PropertyTagLuminanceTable)); 169AssertExtensions.Throws<ArgumentException>(null, () => bitmap.GetPropertyItem(PropertyTagChrominanceTable)); 200PropertyItem item1 = source.GetPropertyItem(PropertyTagExifUserComment); 201PropertyItem item2 = source.GetPropertyItem(PropertyTagChrominanceTable); 202PropertyItem item3 = source.GetPropertyItem(PropertyTagLuminanceTable); 231PropertyItem item = source.GetPropertyItem(PropertyTagExifUserComment); 289PropertyItem item = bitmap.GetPropertyItem(PropertyTagExifUserComment); 432PropertyItem 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);