PrintToRTF
MethodPrintToRTF (Method)
Exports the drawing into an RTF file
Syntax:
Function PrintToRTF(sRTFFile As String, lWidth As Integer, lHeight As Integer, fSelected As Boolean, xMin As Single, yMin As Single, xMax As Single, yMax As Single, sScale As Single, fRTFHeader As Boolean) As Boolean
The PrintToRTF method syntax consists of the following:
Parameter |
Data Type |
Description |
sRTFFile |
String |
The name of the RTF file |
lWidth |
Integer |
The width of the printed area |
lHeight |
Integer |
The height of the printed area |
fSelected |
Boolean |
True when o.nly the selected objects are printed |
xMin |
Single |
The x coordinate of the left bottom drawing extents that will be printed |
yMin |
Single |
The y coordinate of the left bottom drawing extents that will be printed |
xMax |
Single |
The x coordinate of the right top drawing extents that will be printed |
yMax |
Single |
The y coordinate of the right top drawing extents that will be printed |
sScale |
Single |
The plot scale |
fRTFHeader |
Boolean |
True when i.n the file will be written the RTF header |
Return value:
Boolean - True on success, false on error.
Remarks:
If all the xMin, yMin, xMax and yMax are zero, then the whole drawing will be printed