combit List & Label 29 - .NET Help
combit.Reporting Namespace / ListLabelPreviewControl Class / SaveAs Method / SaveAs(String) Method

Depending on the application, PDF, XLS, DOCX and XHTML might be available.



In This Topic
    SaveAs(String) Method
    In This Topic

    Allows to save the preview to one of the supported target formats. This method only works in attached mode, i.e. the displayed preview needs to be the result of a print to PreviewControl.

    Syntax
    'Declaration
     
    
    Public Overloads Sub SaveAs( _
       ByVal targetFormat As String _
    ) 
    public void SaveAs( 
       string targetFormat
    )
    public:
    void SaveAs( 
       String^ targetFormat
    ) 

    Parameters

    targetFormat

    Depending on the application, PDF, XLS, DOCX and XHTML might be available.

    Requirements

    Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 7, .NET 8

    See Also