Nevron Vision for SharePoint Documentation
Barcode / Rendering Options
In This Topic
    Rendering Options
    In This Topic

    The barcode rendering options are accessible from the Barcode > Rendering major tab. Following is a description of these options.

    Auto Refresh Interval - specifies the amount of time (in milliseconds) at which the web part is automatically refreshed. A value of 0 indicates that the web part is not automatically refreshed.

    Use the Auto Refresh feature only when needed - for example for presenting a regularly changing data source (realtime data).
    The Auto Refresh feature is expensive to use in general, since each web part refresh will request a new reaggregation of the data.
    If you need to provide users with the ability to manually refresh a specific web part (at a button click for example) - you can use the take a look at the NRefreshWebPart JScript function, which is described in the Custom Parameters with Nevron JavaScript API topic.

    Width - the width of the barcode in pixels.

    Height - the height of the barcode in pixels.

    Image Acquisition Mode - specifies the way in which the client browser acquires the web part image. Possible values are:

    • Temp File - a temporary image is created to the Layouts\Nevron\Barcode\Temp folder and the browser acquires the image from this file.
    • Http Handler - a temporary image is created in the respective image stream container and the image is served to the browser via a custom HTTP handler.
    • Embedded - the temporary image is encoded directly in the HTTP response (the default setting). This setting eliminates the need for temporary image store. Unfortunately old browsers such as IE 7.0 and older do not support image embedding and IE 8.0 only supports embedded images of small sizes. For these browsers the web part automatically switches to Http Handler acquisition mode.

    Image Format - specifies the format of the image generated by Nevron Barcode for SharePoint at runtime. By default set to PNG - possible values are Bmp, Jpeg, Png and Gif.

    Render Image Map - specifies whether Nevron Barcode for SharePoint should render an image map. The web part can generate an image map, which contains information about tooltips, actions etc. The image map should be rendered, if the web part is designed to be interactive. You should consider setting this property to false, if the web part does not need any interactivity features. This will speed up its rendering.

    Enable 3D Antialiasing - this setting is regarded when the barcode is rendering in 3D. When checked you can additionally specify the number of image samples generated by the control in order to produce smooth edges for 3D objects. The default setting for 3D antialiasing samples is 4.

    Enable 2D Antialiasing - turns on or off the antialiasing of 2D objects.

    Text Rendering Mode - allows you to specify the text rasterization mode. The following settings are available:

    • Aliased - no antialiasing is performed. This setting will produce jagged text edges.
    • Antialiased - the control will perform antialiasing on texts. This setting is recommended when reports will be viewed on both LCD and CRT displays.
    • Clear Type - the control will perform subpixel antialiasing on texts, utilizing RGB color cell order on LCD displays for better quality. This is the default setting.

    Use Regional Settings - specifies whether specific regional (culture) settings must be used. When unchecked the webpart will use the server default culture settings. When checked the culture with the specified culture name is used.

    Culture Name - a string, which determines the culture with which the barcode is rendered, when Use Regional Settings is checked. The culture controls the formatting of all numbers and dates displayed by Nevron Barcode for SharePoint. If left blank, the barcode will use the default server culture. See the Culture Table for a list of all acceptable culture names.