本文整理自网络,侵删。
procedure TForm1.Button1Click(Sender: TObject);var DC: HDC; t:integer;begin
DC := GetDC(0); t:=GetDeviceCaps(DC, logpixelsx) ; ReleaseDC(0, DC); edit1.Text:= inttostr(t);
edit2.Text:= vartostr (t / 96 );
end;
相关阅读 >>
Delphi webbrowser1 保存文档为 .html
Delphi的tclientsocket组件和tserversocket组件(c/s)说明
Delphi tms web core直接从html&css设计的页面布局
更多相关阅读请进入《Delphi》频道 >>