ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Viewer.Wpf Assembly / GrapeCity.ActiveReports.Viewer.Wpf Namespace / Viewer Class / SourceFormat Property
Example

In This Topic
    SourceFormat Property
    In This Topic
    Gets or sets a value indicating the format of the report URI.
    Syntax
    'Declaration
     
    Public Property SourceFormat As Nullable(Of DocumentFormat)
    public Nullable<DocumentFormat> SourceFormat {get; set;}

    Property Value

    A nullable GrapeCity.Viewer.Common.DocumentFormat enumeration value representing the document format.
    Remarks
    Should be used when Source does not have an extension.
    Example
    viewer.SourceFormat = DocumentFormat.Rdlx;
    See Also