Nevron .NET Vision
Nevron.Chart Namespace / NImageExporter Class / SaveToStream Method / SaveToStream(Stream,NSize,NResolution,INImageFormat) Method
a stream to export the image
the dimensions of the image in pixels
the resolution of the image
the format of the image


In This Topic
    SaveToStream(Stream,NSize,NResolution,INImageFormat) Method
    In This Topic
    Saves the current chart image to a stream using specified dimensions.
    Syntax
    'Declaration
     
    
    Public Overloads Sub SaveToStream( _
       ByVal stream As System.IO.Stream, _
       ByVal dimensions As NSize, _
       ByVal resolution As NResolution, _
       ByVal imageFormat As INImageFormat _
    ) 
    'Usage
     
    
    Dim instance As NImageExporter
    Dim stream As System.IO.Stream
    Dim dimensions As NSize
    Dim resolution As NResolution
    Dim imageFormat As INImageFormat
     
    instance.SaveToStream(stream, dimensions, resolution, imageFormat)
    public void SaveToStream( 
       System.IO.Stream stream,
       NSize dimensions,
       NResolution resolution,
       INImageFormat imageFormat
    )

    Parameters

    stream
    a stream to export the image
    dimensions
    the dimensions of the image in pixels
    resolution
    the resolution of the image
    imageFormat
    the format of the image
    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