Nevron .NET Vision
Nevron.UI.WebForm.Controls Namespace / NImageResponse Class / StreamImageToBrowser Property


In This Topic
    StreamImageToBrowser Property
    In This Topic
    OBSOLETE. Use the Nevron HTTP handlers instead. The Nevron HTTP handlers are automatically regisered in web.config. See the documentation on Nevron HTTP handlers for details.
    Whether or not the control must send the image directly to the browser.
    Syntax
    'Declaration
     
    
    <System.Xml.Serialization.XmlAttributeAttribute()>
    <System.ComponentModel.DefaultValueAttribute(False)>
    Public Property StreamImageToBrowser As System.Boolean
    'Usage
     
    
    Dim instance As NImageResponse
    Dim value As System.Boolean
     
    instance.StreamImageToBrowser = value
     
    value = instance.StreamImageToBrowser
    [System.Xml.Serialization.XmlAttribute()]
    [System.ComponentModel.DefaultValue(false)]
    public System.bool StreamImageToBrowser {get; set;}
    Remarks
    When set to true the control will not generate a temporary file name but instead will change the current response type using the MIME type of the image and stream the image directly in the Response output buffer. Take a look at the Binary streaming image example to see how to use this feature in practice.
    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