Topic Path: Symbol Reference > Classes > TIdFormDataField Class > TIdFormDataField Properties > ContentType Property
TIdFormDataField.ContentType Property

MIME content type header for the form data field.

property ContentType: string;

ContentType is a string property that represents the MIME content type for the contents of the form data field. ContentType is used when the multipart form data stream generates the formatted content for the stream including Boundary markers, content disposition, file names, and other header values. 

Changing the value in ContentType cause the form data field to calculate and update the value in FieldSize.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.