FlexReport for .NET | ComponentOne
C1.Document Assembly / C1.Ssrs Namespace / ReportSession Class / GetContent Method / GetContent(String,String,CancellationToken) Method
Strings specifies report format "PDF", "IMAGE" etc.
DeviceInfo string specifies additional parameters.
System.Threading.CancellationToken that can be used to cancel an action.

In This Topic
    GetContent(String,String,CancellationToken) Method
    In This Topic
    Gets report content in specific format.
    Syntax
    'Declaration
     
    Public Overloads Function GetContent( _
       ByVal format As String, _
       ByVal deviceInfo As String, _
       ByVal cancellationToken As CancellationToken _
    ) As Byte()
    public byte[] GetContent( 
       string format,
       string deviceInfo,
       CancellationToken cancellationToken
    )

    Parameters

    format
    Strings specifies report format "PDF", "IMAGE" etc.
    deviceInfo
    DeviceInfo string specifies additional parameters.
    cancellationToken
    System.Threading.CancellationToken that can be used to cancel an action.

    Return Value

    Array of bytes contains generated content.
    See Also