←Select platform

ContentType Property

Summary

Gets the document form field text content validation type.

Syntax
C#
C++/CLI
Python
public int ContentType { get; } 
public:  
   property Int32 ContentType 
   { 
      Int32 get() 
   } 
ContentType # get  (DocumentTextFormField) 

Property Value

The document form field text content type. The default value is DocumentTextFormField.ContentType_Unrestrained.

Remarks

This value is used to define the style and type of the DocumentChoiceFormField. The following table lists the supported form field types:

Value Description
DocumentTextFormField.ContentType_Unrestrained Unrestrained text field type
DocumentTextFormField.ContentType_Custom Custom (User) text field type
DocumentTextFormField.ContentType_Number Number text field type
DocumentTextFormField.ContentType_Date Date text field type
DocumentTextFormField.ContentType_Time Time text field type
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.Document Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.