RPV Reports / Home
 
Search in RpvSoftware.com
Go!

What Rpv is

Rpv Reports 6

Downloads

Support

Buy now!

Contact us

 

TxtToRpv. RpvCorporate.ocx control.


Transform text files into Rpv files. 

Syntax:

TxtToRpv(File_Txt, File_Rpv, Conversion, Orientation, PageLength, PageWidth, FontName, FontSize)

File_Txt is the original file to be converted. It is important to remmark that it is not needed that the extension of the file is Txt, but its structure must be a text file. You can perform a TxtToRpv using any plain file such as "autoexec.bat".
File_Rpv is the output Rpv file.
Conversion is the conversion table to be used for non-english languages that use special chars. Normally, this parameter should not contain any value unless you need to transform a Dos text file that contains special characters.
Orientation defines 1= portrait or 2 = landscape. Since the default orientation is 1 (portrait), it is needed to specify a value only for landscape orientation.
PageLength and PageWidth define the length and width of the page. Expressed in twips.
FontName defines the font to be used in the output Rpv file.
FontSize defines the size of the FontName. Expressed in points.

Example:

Rpv1.TxtToRpv("c:\autoexec.bat", "c:\temp\autoexec.rpv", "", 2, 16840, 11907, "courier new", 8)

This example will take "c:\autoexec.bat" and generates "c:\temp\autoexec.rpv" to be printed/seen by the application, using A4 paper (16840, 11907), all the text in "courier new", size 8 points.

Home
What Rpv is
Rpv Reports 2024

Products
Rpv Reports 2024
Personalized edition

More...
Downloads
Support
Rpv Reports Online help
Rpv Visual Editor online help
Examples
/temp section
Videos




Copyright (c) 2001-2024 - Rpv Software. All rights reserved.