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;} |
| Managed Extensions for C++ | |
|---|
public: __property bool get_UseDpi();
public: __property void set_UseDpi(
bool value
); |
Return Value
true to use the image's DPI (Dots Per Inch) to calculate the physical resolution; false to ignore it.
Example
Remarks
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also