PartContentType Property
Content type for each part.
Object Oriented Interface
public function getPartContentType($partidx); public function setPartContentType($partidx, $value);
Procedural Interface
ipworks_mime_get($res, 13 , $partidx); ipworks_mime_set($res, 13, $value , $partidx);
Default Value
''
Remarks
Content type for each part. The value of this property is used in the Content-Type header. Typical values include "image/gif", "text/plain" etc. The class fills it out each time the PartDecodedFile is changed. Changing this property recalculates the PartHeaders as well.
The size of the array is controlled by the PartCount property.
This property is not available at design time.
Data Type
String