RTF file format to PDF file format conversion

RTF file format to PDF file format conversion

Post by cioin » Wed, 13 Apr 2005 03:15:21


Hi,
Please help me to convert RTF file format to PDF file format.
How can I use eDocEngine .NET/ActiveX in C#?
e.g.

axgtPDFEngineX1.PrefShowSetupDialog = chkShowDlg.Checked;
axgtPDFEngineX1.PrefOpenAfterCreate = chkOpenAfterCreate.Checked;
axgtPDFEngineX1.PagePaperSize = TxgtPaperSize.A4;
axgtPDFEngineX1.FileName = "test";

axgtPDFEngineX1.BeginDoc();

if (axgtPDFEngineX1.EngineStatus == TxgtEngineStatus.esStarted)
{
axgtPDFEngineX1.NewPage();
axgtPDFEngineX1.DrawRichText(???);
axgtPDFEngineX1.EndDoc();
}

I don't know how to use axgtPDFEngineX1.DrawRichText(???).
Thanks in advance.