TextCommandStr Method

[Top]  [Chapter]  [Previous]  [Next]

Declaration

string TextCommandStr([In] int ComID, [In] int param, [In] string StrParam);

Description

This method has been reserved for custom enhancements.

 

Command ID: 1

Retrieve or set the current default paragraph style. If always returns the name of the current default style. You may pass the name of a style to select a different style to be default. In case bit 2 in param is not set, the style will be created if it does not exist. If you pass an empty string and pass param=1 no style will be the default style.

 

Command ID: 2

Converts the complete text into ANSI format. A CR-NL pair is added after each line inside a paragraph or cell. The code page can be provided a first parameter.

 

Command ID: 3

Set the property TextSaveFormatClipboard. This property holds the format string which is used to write the text which is copied to the clipboard. It returns the previous value of this property. If param<0 the property is not changed.

 

Command ID: 4

Set the property TextLoadFormatClipboard. This property holds the format string which is used to read the text which is copied from the clipboard. It returns the previous value of this property. If param<0 the property is not changed.


[idh_iwpmemo_textcommandstr.htm]    Copyright © 2007 by WPCubed GmbH