can i add custom function and external object?

Stimulsoft Reports.NET discussion
Post Reply
progame
Posts: 46
Joined: Sat Nov 25, 2006 9:12 am
Location: china

can i add custom function and external object?

Post by progame »

sometimes, i need get data by my custom function, and i want to set text to be:
{MyFunction("aaa")}

or
MyObject.Function("aaa")

how to pass those functions and objects to report script?
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

can i add custom function and external object?

Post by Vital »

Hello,

Add reference to your assembly in ReferencedAssemblies of StiReport. After then add using statement to report code. After then you can use your static functions as:

Code: Select all

{MyObject.Function("aaa")}
Thank you.
Post Reply