VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.UI Namespace / ImageViewer Class / VectorRenderingQualityFactor Property
Example



In This Topic
    VectorRenderingQualityFactor Property (ImageViewer)
    In This Topic
    Gets or sets the quality factor for vector rendering.
    Syntax
    'Declaration
     
    <CategoryAttribute("VintaSoft")>
    <DefaultValueAttribute()>
    <DescriptionAttribute("The quality factor for vector rendering.")>
    Public Property VectorRenderingQualityFactor As Single
    [Category("VintaSoft")]
    [DefaultValue()]
    [Description("The quality factor for vector rendering.")]
    public float VectorRenderingQualityFactor {get; set;}
    [Category("VintaSoft")]
    [DefaultValue()]
    [Description("The quality factor for vector rendering.")]
    public: __property float get_VectorRenderingQualityFactor();
    public: __property void set_VectorRenderingQualityFactor( 
       float value
    );
    [Category("VintaSoft")]
    [DefaultValue()]
    [Description("The quality factor for vector rendering.")]
    public:
    property float VectorRenderingQualityFactor {
       float get();
       void set (    float value);
    }

    Property Value

    • 1 - the image renderer will render image with specified resolution and provide image with normal quality.
    • value greater than 1 and less than or equal to 2 - the image renderer will render image with increased resolution and provide image with high quality. Image renderer will use more memory.
    Default value is 1.
    Example
    This example shows how to enable dynamic rendering of PDF documents and set high vector rendering quality factor:
    ' enable dynamic rendering of PDF documents
    viewer.RenderingRequirements.SetRequirement("Pdf", New Vintasoft.Imaging.ImageRendering.ImageSizeRenderingRequirement(0))
    ' set high rendering quality factor
    viewer.VectorRenderingQualityFactor = 2
    // enable dynamic rendering of PDF documents
    viewer.RenderingRequirements.SetRequirement("Pdf", 
        new Vintasoft.Imaging.ImageRendering.ImageSizeRenderingRequirement(0));
    // set high rendering quality factor
    viewer.VectorRenderingQualityFactor = 2;
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also