We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Render as word through Code

Hi,

I am having some difficulty trying to find an answer to my query on the website / documentation provided with the Words for Reporting Services.

Is it possible to render to Word in a similar fashion to the following:

ResultStream = rs.Render(sReport, reportFormat, Nothing, "True", sParameters, Nothing, Nothing, OptionalParam, OptionalParam, sParameters, optionalWarnings, StreamIdentifiers)

Response.BinaryWrite(ResultStream)

Thanks,

PPSoftNet

Hi,

Thank you for your query. Sure, just specify "AWXXX", i.e. "AWDOC", "AWRTF" etc as the reportFormat parameter. Are you experiencing any other difficulties trying to render reports programmatically?

We'll consider adding this tip to the Aspose.Words for Reporting Services documentation, thank you for that!