Files
componentowl-astro/public/class-reference/better-listview/BetterListView~ComponentOwl.BetterListView.Painter.ToIsotropicSize.html

73 lines
3.3 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<html dir="LTR" xmlns:ndoc="urn:ndoc-schema">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta content="history" name="save" />
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
<title>Painter.ToIsotropicSize Method</title>
<xml>
</xml>
<link rel="stylesheet" type="text/css" href="MSDN.css" />
</head>
<body id="bodyID" class="dtBODY">
<div id="nsbanner">
<div id="bannerrow1">
<table class="bannerparthead" cellspacing="0">
<tr id="hdr">
<td class="runninghead">Better ListView Class Reference</td>
<td class="product">
</td>
</tr>
</table>
</div>
<div id="TitleRow">
<h1 class="dtH1">Painter.ToIsotropicSize Method</h1>
</div>
</div>
<div id="nstext">
<p> Get size which best fits targetSize while preserving aspect ratio of sourceSize. </p>
<div class="syntax">public static <a href="BetterListView~ComponentOwl.BetterListView.Painter.ToIsotropicSize.html">Size</a> ToIsotropicSize(<br />   <a href="BetterListView~ComponentOwl.BetterListView.Painter.ToIsotropicSize.html">Size</a> <i>sourceSize</i>,<br />   <a href="BetterListView~ComponentOwl.BetterListView.Painter.ToIsotropicSize.html">Size</a> <i>targetSize</i>,<br />   <a href="BetterListView~ComponentOwl.BetterListView.Painter.ToIsotropicSize.html">bool</a> <i>upscale</i>,<br />   <a href="BetterListView~ComponentOwl.BetterListView.Painter.ToIsotropicSize.html">bool</a> <i>fromOutside</i><br />);</div>
<h4 class="dtH4">Parameters</h4>
<dl>
<dt>
<i>sourceSize</i>
</dt>
<dd>source size</dd>
<dt>
<i>targetSize</i>
</dt>
<dd>target size</dd>
<dt>
<i>upscale</i>
</dt>
<dd>allow result size to be greater than source size</dd>
<dt>
<i>fromOutside</i>
</dt>
<dd>allow result size to be greater that target size</dd>
</dl>
<h4 class="dtH4">Return Value</h4>
<p>resulting size</p>
<h4 class="dtH4">See Also</h4>
<p>
<a href="BetterListView~ComponentOwl.BetterListView.Painter.html">Painter Class</a> | <a href="~ComponentOwl.BetterListView.html">ComponentOwl.BetterListView Namespace</a></p>
<object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;">
<param name="Keyword" value="ToIsotropicSize method&#xD;&#xA; ">
</param>
<param name="Keyword" value="ToIsotropicSize method, Painter class">
</param>
<param name="Keyword" value="Painter.ToIsotropicSize method&#xD;&#xA; ">
</param>
</object>
<hr />
<div id="footer">
<p>
<a href="mailto:support@componentowl.com?subject=Better%20ListView%20Class%20Reference%20Documentation%20Feedback:%20Painter.ToIsotropicSize Method ">Send comments on this topic.</a>
</p>
<p>
<a>Copyright © 2010-2012 ComponentOwl.com</a>
</p>
<p>Generated from assembly BetterListView [3.1.0.0] by <a href="http://ndoc3.sourceforget.net">NDoc3</a></p>
</div>
</div>
</body>
</html>