Visual Basic (Declaration) | |
---|---|
Public Property Dpi As Single |
C# | |
---|---|
public float Dpi {get; set;} |
If the Dpi is different from 96, Width and Height should be adjusted by a factor of Dpi/96 if the layer supports generating outputs at different DPIs.
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8