LEADTOOLS WebForms and AJAX (Leadtools.Web assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
UseDpi Property
See Also 
Leadtools.Web.Controls Namespace > WebImageViewer Class : UseDpi Property



Gets or sets a value that indicates whether the control uses the image's DPI (Dots Per Inch) to calculate the physical resolution for the image.

Syntax

Visual Basic (Declaration) 
Public Property UseDpi As Boolean
Visual Basic (Usage)Copy Code
Dim instance As WebImageViewer
Dim value As Boolean
 
instance.UseDpi = value
 
value = instance.UseDpi
C# 
public bool UseDpi {get; set;}
C++/CLI 
public:
property bool UseDpi {
   bool get();
   void set (    bool value);
}

Property Value

true to use the image's DPI (Dots Per Inch) to calculate the physical resolution; false to ignore it.

Example

Remarks

Default value is false.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also