←Select platform

FontRelativeToImageDpi Property

Summary

Gets or sets a value that determines whether to take image dpi into consideration when calculting 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

A Boolean value that determines whether to take image dpi into consideration when calculting font size. The default value is true.

Remarks

In older versions of LEADTOOLS, when calculating font size, the image dpi was not taken into consideration.
In the current version, the calculations do consider the image dpi.
You can set this property to false to for backword compatibility with older versions of LEADTOOLS.

Requirements
Target Platforms
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.