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



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