TE Edit Control .NET Core / .NET Framework Help
Product page

TerSetFlags4

Set additional flags or retrieve the values of the flags.

int TerSetFlags4( set, flags)
bool set;true to set the given flags, false to reset the given flags
int flags;Flags (bits) to set or reset. Currently, the following flag values are available:
TFLAG4_COUNT_PCHAR_AS_CRLF:Count a paragraph character as a cr/lf pair (2 characters) in TerAbsToRowCol and TerRowColToAbs functions.
TFLAG4_SKIP_PROT_TEXT:Do not allow cursor anywhere on the protected text.
TFLAG4_READONLY_CONTROLS:Enable or disable the embedded controls and form fields when calling the TerSetReadOnly function.
TFLAG4_NO_REPAGINATE:Hold repagination.
TFLAG4_SMOOTH_SCROLL:Scroll screen smoothly when selecting text using mouse.
TFLAG4_AUTO_SPELL:
Invoke auto spelling (SpellTime required for this feature)
TFLAG4_BINARY_RTF_PICT:
Save rtf pictures in the binary format (default is the hex format)
TFLAG4_UNDO_WINDOW_OVERFLOW:Undo any editing task which makes the text go past the current window height. This flag is not effective in PageMode or FittedView modes.
TFLAG4_IME_UNICODE:Convert DBCS characters to Unicode during IME input.
TFLAG4_MOD_END_MARK_FONT: Set the font of the ending paragraph marker same as the font for the previous character.
TFLAG4_ONE_ROW_TOOLBAR: Display only the second row of the toolbar.
TFLAG4_NO_OLE_DROP:Disable dropping of OLE objects.
TFLAG4_ALWAYS_INOKE_OLE: Invoke ole double-click even in read-only mode.
TFLAG4_DISABLE_DATE_UPDATE:Do not update the date/time field value.
TFLAG4_SAVE_BMP_AS_PNG:Write the the BMP images into the PNG format to the RTF output file.
TFLAG4_SAVE_SHAPE_WITH_DRAW_OBJECT:Save shape and drawing object in one rtf file. Warning: Using this flag might generate an RTF file incompatible with MSWord.
TFLAG4_HTML_INPUT:The input to the editor is assumed to be in the HTML format. HTML Add-on is called (if installed) to read the input data. The HTML Add-on license key must also be set for this flag to be fully effective.
TFLAG4_NO_DRAG_PROT_TEXT: Do not allows drag/drop of protected text.
TFLAG4_FULL_DRAG_PROT_TEXT: Allow drag/drop of protected text fully. The protected text at the source location will be deleted.
TFLAG4_NO_MERGE_TABLE:Do allow deletion of the paragraph marker before a table.
TFLAG4_NO_TOC_UPDATE:Do not update table of contents
TFLAG4_NO_RESET_DCDo not reset the printer device context
TFLAG4_NO_SHARE_BORDER:Do not draw shared cell borders
TFLAG4_ADJ_LEFT_TABLE_COLDuring table column adjust using the mouse, adjust only the left column.
TFLAG4_DONT_FIX_NEG_INDENTDo not adjust for negative indents in an RTF file.
TFLAG4_PASTE_LAST_PARA_PROPPaste the properties of the last paragraph when text is pasted into an empty paragraph.
TFLAG4_PRINT_WMF_AS_BMPPrint the metafiles as bitmap. This option is useful if the target device context is not able to handle the metafiles properly.