代码拉取完成,页面将自动刷新
同步操作将从 bugmoto/Help 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
<!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文件、html和pdf(仅Delphi,C#可通过pdf虚拟打印机实现)。</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 TfrmHCViewDemo.mniExploreClick(Sender: TObject);
var
vDlg: TSaveDialog;
vExt: string;
begin
vDlg := TSaveDialog.Create(Self);
try
vDlg.Filter := 'pdf格式|*.pdf' + '|htm格式|*.html';
vDlg.Execute;
if vDlg.FileName <> '' then
begin
vExt := '';
case vDlg.FilterIndex of
1: vExt := '.pdf';
2: vExt := '.html';
else
Exit;
end;
if ExtractFileExt(vDlg.FileName) <> vExt then // 避免重复后缀
vDlg.FileName := vDlg.FileName + vExt;
case vDlg.FilterIndex of
1: FHCView.SaveToPDF(vDlg.FileName);
2: FHCView.SaveToHtml(vDlg.FileName, False);
end;
end;
finally
vDlg.Free;
end;
end;
// 以字符串形式获取文档各节正文内容
function SaveToText: string;
// 文档各节正文字符串保存为文本格式文件
procedure SaveToTextFile(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">
private void mniSaveAs_Click(object sender, EventArgs e)
{
SaveFileDialog vDlg = new SaveFileDialog();
vDlg.Filter = "|htm格式|*.html";
if (vDlg.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
if (vDlg.FileName != "")
{
FHCView.SaveToHtml(vDlg.FileName);
}
}
}
// 以字符串形式获取文档各节正文内容
public string SaveToText()
// 文档各节正文字符串保存为文本格式文件
public void SaveToTextFile(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>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。