加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
HCEmrViewSample.导入文件.html 8.91 KB
一键复制 编辑 原始数据 按行查看 历史
HCView 提交于 2019-07-11 17:07 . 完善一些内容
<!DOCTYPE html>
<html>
<head>
<title>THCView.DoSectionDrawItemPaintAfter(THCCustomData,Integer,TRect,Integer,Integer,Integer,Integer,TCanvas,TPaintInfo) Method</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="generator" content="Documentation Insight" />
<base target="_self" />
<link type="text/css" rel="Stylesheet" href="css/presentation.css" />
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.cookie.js"></script>
<script type="text/javascript" src="js/di.js"></script>
<style type="text/css">
.tabHead {
float: left;
padding-left: 2px;
}
.active {
background-color: #f8f8f8;
}
.disActive {
background-color: #939393;
border-bottom: solid 1px #939393;
}
.tabHead :hover {
background-color: bisque;
cursor: pointer;
}
.unActive {
display: none;
}
</style>
<script type="text/javascript" src="js/jquery-migrate.min.js"></script>
<!--[if (!IE) | (gt IE 8)]><!-->
<link type='text/css' rel='Stylesheet' href='css/highlighter.css' />
<!--<![endif]-->
<!--[if (!IE) | (gt IE 8)]><!-->
<script src="js/highlight.min.js"></script>
<!--<![endif]-->
<script type="text/javascript">
if (($.browser.msie == undefined) || ($.browser.version > 8)) {
hljs.tabReplace = ' ';
$(document).ready(function() {
$("#footerContent").html(getCopyright());
$('pre').each(function(i, e) {
hljs.highlightBlock(e);
});
});
}
</script>
<script type="text/javascript">
if (top.frames.length == 0) {
var topicUrl = top.location.href.substring(top.location.href.lastIndexOf("/") + 1, top.location.href.length);
var regex = new RegExp('(mk:@MSITStore|ms-help):?', 'i')
if (!top.location.href.match(regex)) {
top.location.href = "index.htm?" + topicUrl;
}
} else if (top && top.navigationFrame && top.navigationFrame.selectTocItem) {
top.navigationFrame.selectTocItem("HCView.THCView.DoSectionDrawItemPaintAfter(THCCustomData,Integer,TRect,Integer,Integer,Integer,Integer,TCanvas,TPaintInfo)");
};
</script>
<script type="text/javascript">
var tempId = "Delphi";
$(document).ready(function() {
$(".codeSnippetTabActive").on("click", function() {
var obj = $(this);
var id = obj.attr("data-lbl");
$(".codeSnippetTabActive").removeClass("active");
$(".codeSnippetTabActive").addClass("disActive");
obj.removeClass("disActive");
obj.addClass("active");
$("#" + tempId).addClass("unActive");
$("#" + id).removeClass("unActive");
tempId = id;
});
});
</script>
</head>
<body class="library">
<input type="hidden" id="contentEditableControl" class="userDataStyle" value="false" />
<input type="hidden" id="userDataCache" class="userDataStyle" />
<input type="hidden" id="hiddenScrollOffset" />
<input type="hidden" id="moduleName" value="HCEmrView" />
<input type="hidden" id="elementId" value="HCView.THCView.DoSectionDrawItemPaintAfter(THCCustomData,Integer,TRect,Integer,Integer,Integer,Integer,TCanvas,TPaintInfo)" />
<div id="content">
<div class="topic">
<h2 class="title">导入文件</h2>
<h3>导入导出的文件,目前支持导入Text字符串、Text文件。</h3>
<div id="mainSection">
<div id="mainBody">
<div id="summarySection" class="section">
<input class="tagName" type="hidden" value="summary" />
<div id="summaryHeader" class="sectionHeader">
<div>
<a href="javascript:void(0)" class="collapsibleAreaHref" title="Collapse">
<span class="collapsibleAreaIcon collapsibleAreaExpanding">
<!---->
</span>
<span class="collapsibleAreaTitle">Summary</span>
</a>
</div>
</div>
</div><br />
<div id="syntaxSection" class="section">
<div id="syntaxHeader" class="sectionHeader">
<div>
<a href="javascript:void(0)" class="collapsibleAreaHref" title="Collapse">
<span class="collapsibleAreaIcon collapsibleAreaExpanding">
<!---->
</span>
<span class="collapsibleAreaTitle">参考</span>
</a>
</div>
</div>
<div id="syntaxContent" class="sectionContent" contentEditable="false">
<div class="codeSnippet" contentEditable="false"><input class="code" type="hidden" value="" />
<div class="codeSnippetTabs tabHead">
<div class="codeSnippetTabActive active" data-lbl="Delphi"><a>Delphi</a></div>
</div>
<div class="codeSnippetTabs tabHead">
<div class="codeSnippetTabActive disActive" data-lbl="CSharp"><a>C#</a></div>
</div>
<div class="codeSnippetCodeContainer tabs" id="Delphi">
<div class="codeSnippetCode">
<h4 class="subHeading">导入文件</h4>
<dl>
<pre class="delphi" contentEditable="false">
// 读文本到第一节正文
procedure LoadFromText(const AText: string);
// 读取文本文件内容到第一节正文
procedure LoadFromTextFile(const AFileName: string; const AEncoding: TEncoding);
</pre>
</dl>
</div>
</div>
<div class="codeSnippetCodeContainer tabs unActive" id="CSharp">
<div class="codeSnippetCode">
<h4 class="subHeading">导入文件</h4>
<dl>
<pre class="CSharp" contentEditable="false">
// 读文本到第一节正文
public void LoadFromText(string aText)
// 读取文本文件内容到第一节正文
public void LoadFromTextFile(string aFileName, System.Text.Encoding aEncoding)
</pre>
</dl>
</div>
</div>
</div>
</div>
</div>
<div id="seealsoSection" class="section">
<input class="tagName" type="hidden" value="seealso" />
<div id="seealsoHeader" class="sectionHeader">
<div>
<a href="javascript:void(0)" class="collapsibleAreaHref" title="Collapse">
<span class="collapsibleAreaIcon collapsibleAreaExpanding">
<!---->
</span>
<span class="collapsibleAreaTitle">查看</span>
</a>
</div>
</div>
<div id="seealsoContent" class="sectionContent" contentEditable="false">
<ul class="seeAlsoCodeReference">
<li><a href="HCEmrView_Property.htm" title="HCEmrView属性">HCEmrView属性</a></li>
<li><a href="HCEmrView_Method.htm" title="HCEmrView方法">HCEmrView方法</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="footer">
<div id="footerContent"></div>
</div>
</body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化