KB-30035: Printing an RMChart object.

Question:
On a screen with different types of objects, can I print only the RMChart and not the others?

Solution:
Yes. To do so, you will either use ActiveX’s Draw2File() function to generate a figure (for example, a JPG), or Draw2Printer() function to generate a PDF file.  For the latter case, however, you will need to have a PDF generator already installed in your machine set as default.

Example:
Set Chart = Screen.Item(“RMChartX1”)
Chart.Draw2Printer()

Functions structure:
Draw2Printer([nPrinterDC], [nLeft], [nTop], [nWidth], [nHeight], [nFileType]))
Draw2File(sFileName, [nWidth], [nHeight]), [nJPGQuality])

For further information or parameters description, please refer to RMChart’s Guide.

Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Leave a Reply

Your email address will not be published.Required fields are marked *