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.
Public Property Dpi As System.Single
Dim instance As Image
Dim value As System.Single
instance.Dpi = value
value = instance.Dpi
public System.float Dpi {get; set;}
This value is ignored by Draw and GetSize(Graphics).

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


Image Class
Image Members