←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#
C++/CLI
Python
public bool FontRelativeToImageDpi { get; set; } 
public:  
   property bool FontRelativeToImageDpi 
   { 
      bool get() 
      void set(bool value) 
   } 
FontRelativeToImageDpi # get and set (AnnContainerMapper) 

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 22.0.2023.7.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.