←Select platform

ContentType Property

Summary
Content type.
Syntax
C#
C++/CLI
Java
Python
public int ContentType { get; set; } 
public int getContentType(); 
public void setContentType( 
   int intValue 
); 
public: 
property int ContentType { 
   int get(); 
   void set (    int ); 
} 
ContentType # get and set (PDFFormField) 

Property Value

Field type. In most cases, this is one of the following constants defined in PDFFormField.

Value Name Description
0 ContentTypeUnrestrained Content type can be anything.
1 ContentTypeNumber Content type is a number.
2 ContentTypeCustom Content type is custom.
3 ContentTypeDate Content type is a date.
4 ContentTypeTime Content type is a time.
5 ContentTypeImagePath Content type image path
Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Pdf Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.