RMC_GetChartSizeFromFile function.
Get width and height of a chart from an *.rmc-file

Syntax
nResult (LONG) = RMC_GetChartSizeFromFile(
ByRef sRMCFile (ASCIIZ),
ByRef nWidth (LONG),
ByRef nHeight (LONG)
)
Parameter
sRMCFile (ASCIIZ)
Full name of a *.rmc-file which was created with RMCDesigner.
OR: The content of such a file as plain data string.
nWidth
If no error: width of the chart in sRMCFile in pixel.
nHeight
If no error: height of the chart in sRMCFile in pixel.
Return value
0
No error, function succeeded.
RMC_ERROR_RMCFILE
Error opening sRMCFile.
Remarks
After the successful call to this function nWidth and nHeight hold the dimensions of the chart in sRMCFIle. Call this function e.g. if you need to know the dimensions of the chart before you create the dialog, which will show the chart.