GetTextVar / GetBytes method

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

Applies to

WPDLLInt

Declaration

object GetTextVar(int Editor, string Format,  bool OnlySelection);

 

The .NET Assembly also defines:

public byte[] GetBytes(int Editor, bool OnlySelection, string Format)

Description

This method can be used (only in the OCX) to save the text to a varaiant. This has the advantage that RTF data (which is plain ASCII code) does not have to be passed as unicode string.

Parameters

Editor

The editor to update: 1 or 2

Data

The text as OleVariant - an array of bytes will be created.

Format

A string which specifies the saving options.

OnlySelection

true to only save the selected text.

Returns

True if saving went ok.

Also see SetTextVar!


[idh_wpdllint_gettextvar.htm]    Copyright © 2007 by WPCubed GmbH