Xamarin.Forms | ComponentOne
C1.Xamarin.Forms.Viewer Assembly / C1.Xamarin.Forms.Viewer Namespace / FlexViewer Class / Save Method / Save(String,Boolean) Method
The name of the PDF file to create.
Indicates whether document should be saved using incremental updates.


In This Topic
    Save(String,Boolean) Method
    In This Topic
    Saves the current PDF document to a file.
    Syntax
    'Declaration
     
    
    Public Overloads Sub Save( _
       ByVal fileName As String, _
       Optional ByVal incrementalUpdate As Boolean _
    ) 
    'Usage
     
    
    Dim instance As FlexViewer
    Dim fileName As String
    Dim incrementalUpdate As Boolean
     
    instance.Save(fileName, incrementalUpdate)
    public void Save( 
       string fileName,
       bool incrementalUpdate
    )

    Parameters

    fileName
    The name of the PDF file to create.
    incrementalUpdate
    Indicates whether document should be saved using incremental updates.
    Remarks
    Saving the PDF document to a file requires that the file be available for writing. If the file already exists and is in use by an application (such as the Adobe Acrobat Reader), the method will throw an exception.
    See Also