←Select platform

FontRelativeToImageDpi Property

Summary

Indicates whether to take image DPI in consideration when calculating 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 (AnnAutomationManager) 

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

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