Nevron .NET Vision
Nevron.Diagram.Extensions Namespace / NImageExporter Class / SaveToImageFile Method
file name in which to store the image
format of the image file, which must be used


In This Topic
    SaveToImageFile Method
    In This Topic
    Saves the defined image content as an image file.
    Syntax
    'Declaration
     
    
    Public Overridable Function SaveToImageFile( _
       ByVal fileName As System.String, _
       ByVal format As System.Drawing.Imaging.ImageFormat _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NImageExporter
    Dim fileName As System.String
    Dim format As System.Drawing.Imaging.ImageFormat
    Dim value As System.Boolean
     
    value = instance.SaveToImageFile(fileName, format)
    public virtual System.bool SaveToImageFile( 
       System.string fileName,
       System.Drawing.Imaging.ImageFormat format
    )

    Parameters

    fileName
    file name in which to store the image
    format
    format of the image file, which must be used

    Return Value

    true if the operation succeeded, otherwise false
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also