SpreadsheetGear 2023
Dpi Property (Image)


SpreadsheetGear.Drawing Namespace > Image Class : Dpi Property
Specifies the DPI to use for the generated image. The default value is 96 DPI.
Syntax
'Declaration
 
Public Property Dpi As System.Single
'Usage
 
Dim instance As Image
Dim value As System.Single
 
instance.Dpi = value
 
value = instance.Dpi
public System.float Dpi {get; set;}
Remarks
This value is ignored by Draw and GetSize(Graphics).
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Image Class
Image Members