←Select platform

FontRelativeToImageDpi Property

Summary

Indicates whether to take image DPI in consideration when calculating font size.

Syntax
C#
VB
C++
public bool FontRelativeToImageDpi { get; set; } 
Public Property FontRelativeToImageDpi() As Boolean 
   Get 
   Set 
public:  
   property bool FontRelativeToImageDpi 
   { 
      bool get() 
      void set(bool value) 
   } 

Property Value

true Indicates whether to take image DPI in consideration when calculating font size. Otherwise, false. Default value is true.

Remarks

Setting the value of this property to false will result in the automation framework not considering the image DPI when calculating font sizes and rely on the screen DPI only. This is used for backward compatibility for the behavior of earlier versions of LEADTOOLS prior to v17.

Requirements

Target Platforms

Help Version 20.0.2019.12.5
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly