This documentation is archived and is not being maintained.

Image.RemovePropertyItem Method

Removes the specified property item from this Image object.

[Visual Basic]
Public Sub RemovePropertyItem( _
   ByVal propid As Integer _
)
[C#]
public void RemovePropertyItem(
 int propid
);
[C++]
public: void RemovePropertyItem(
 int propid
);
[JScript]
public function RemovePropertyItem(
   propid : int
);

Parameters

propid
The ID of the property item to remove.

Return Value

This method does not return a value.

Remarks

If the image does not contain the requested property item or if the image format does not support property items, RemovePropertyItem throws System.ArgumentException with the message, "Property not found."

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Image Class | Image Members | System.Drawing Namespace

Show: