<html><head><metahttp-equiv="X-UA-Compatible"content="IE=edge"/><linkrel="shortcut icon"href="../icons/favicon.ico"/><linkrel="stylesheet"type="text/css"href="../styles/branding.css"/><linkrel="stylesheet"type="text/css"href="../styles/branding-en-US.css"/><scripttype="text/javascript"src="../scripts/branding.js"></script><metahttp-equiv="Content-Type"content="text/html; charset=UTF-8"/><title>OptionsConfiguration.LockAspectRatio Property </title><metaname="Language"content="en-us"/><metaname="System.Keywords"content="LockAspectRatio property"/><metaname="System.Keywords"content="OptionsConfiguration.LockAspectRatio property"/><metaname="Microsoft.Help.F1"content="butterflow_ui.OptionsConfiguration.LockAspectRatio"/><metaname="Microsoft.Help.F1"content="butterflow_ui.OptionsConfiguration.get_LockAspectRatio"/><metaname="Microsoft.Help.F1"content="butterflow_ui.OptionsConfiguration.set_LockAspectRatio"/><metaname="Microsoft.Help.Id"content="P:butterflow_ui.OptionsConfiguration.LockAspectRatio"/><metaname="Description"content="Gets or sets a value indicating whether to lock aspect ratio of the video."/><metaname="Microsoft.Help.ContentType"content="Reference"/><metaname="BrandingAware"content="true"/><metaname="container"content="butterflow_ui"/><metaname="file"content="6a62b320-0dc7-5c55-5fc1-7960ce031f08"/><metaname="guid"content="6a62b320-0dc7-5c55-5fc1-7960ce031f08"/><linkrel="stylesheet"type="text/css"href="../styles/branding-Website.css"/><scripttype="text/javascript"src="../scripts/jquery-1.11.0.min.js"></script><scripttype="text/javascript"src="../scripts/branding-Website.js"></script><scripttype="text/javascript"src="../scripts/clipboard.min.js"></script></head><bodyonload="OnLoad('cs')"><inputtype="hidden"id="userDataCache"class="userDataStyle"/><divclass="pageHeader"id="PageHeader">A Sandcastle Documented Class Library<formid="SearchForm"method="get"action="#"onsubmit="javascript:TransferToSearchPage(); return false;"><inputid="SearchTextBox"type="text"maxlength="200"/><buttonid="SearchButton"type="submit"></button></form></div><divclass="pageBody"><divclass="leftNav"id="leftNav"><divid="tocNav"><divclass="toclevel0"data-toclevel="0"><aclass="tocCollapsed"onclick="javascript: Toggle(this);"href="#!"/><adata-tochassubtree="true"href="../html\e151fc72-f3cc-1740-7ea1-73c21ce1fa93.htm"title="A Sandcastle Documented Class Library"tocid="roottoc">A Sandcastle Documented Class Library</a></div><divclass="toclevel0"data-toclevel="0"><aclass="tocCollapsed"onclick="javascript: Toggle(this);"href="#!"/><adata-tochassubtree="true"href="../html/e151fc72-f3cc-1740-7ea1-73c21ce1fa93.htm"title="butterflow_ui"tocid="e151fc72-f3cc-1740-7ea1-73c21ce1fa93">butterflow_ui</a></div><divclass="toclevel0"data-toclevel="0"><aclass="tocCollapsed"onclick="javascript: Toggle(this);"href="#!"/><adata-tochassubtree="true"href="../html/8b6c756f-d88d-a439-ae46-36933c20e4cc.htm"title="OptionsConfiguration Class"tocid="8b6c756f-d88d-a439-ae46-36933c20e4cc">OptionsConfiguration Class</a></div><divclass="toclevel1"data-toclevel="1"data-childrenloaded="true"><aclass="tocExpanded"onclick="javascript: Toggle(this);"href="#!"/><adata-tochassubtree="true"href="../html/967fbfe1-1e06-96ce-2a6e-e86982fb6935.htm"title="OptionsConfiguration Properties"tocid="967fbfe1-1e06-96ce-2a6e-e86982fb6935">OptionsConfiguration Properties</a></div><divclass="toclevel2"data-toclevel="2"><adata-tochassubtree="false"href="../html/2ab1f69f-ff78-6e57-8ade-6ffd38070087.htm"title="CommandLineOutput Property "tocid="2ab1f69f-ff78-6e57-8ade-6ffd38070087">CommandLineOutput Property </a></div><divclass="toclevel2"data-toclevel="2"><adata-tochassubtree="false"href="../html/ba5c0673-a02d-29fa-7793-d9bf04419d1d.htm"title="FastPyramid Property "tocid="ba5c0673-a02d-29fa-7793-d9bf04419d1d">FastPyramid Property </a></div><divclass="toclevel2"data-toclevel="2"><adata-tochassubtree="false"href="../html/985d56af-6017-1462-1514-a6feafcdacf2.h
butterflow-ui (in butterflow-ui.exe) Version: 1.0.0.0 (1.0.0.0)<divclass="collapsibleAreaRegion"><spanclass="collapsibleRegionTitle"onclick="SectionExpandCollapse('ID1RB')"onkeypress="SectionExpandCollapse_CheckKey('ID1RB', event)"tabindex="0"><imgid="ID1RBToggle"class="collapseToggle"src="../icons/SectionExpanded.png"/>Syntax</span></div><divid="ID1RBSection"class="collapsibleSection"><divclass="codeSnippetContainer"><divclass="codeSnippetContainerTabs"><divid="ID0EACA_tab1"class="codeSnippetContainerTabSingle">C#</div></div><divclass="codeSnippetContainerCodeContainer"><divclass="codeSnippetToolBar"><divclass="codeSnippetToolBarText"><aid="ID0EACA_copyCode"href="#"class="copyCodeSnippet"onclick="javascript:CopyToClipboard('ID0EACA');return false;"title="Copy">Copy</a></div></div><divid="ID0EACA_code_Div1"class="codeSnippetContainerCode"style="display: block"><prexml:space="preserve"><spanclass="keyword">public</span><spanclass="identifier">bool</span><spanclass="identifier">LockAspectRatio</span> { <spanclass="keyword">get</span>; <spanclass="keyword">set</span>; }</pre></div></div></div><scripttype="text/javascript">AddLanguageTabSet("ID0EACA");</script><h4class="subHeading">Property Value</h4>Type:<ahref="http://msdn2.microsoft.com/en-us/library/a28wyd50"target="_blank">Boolean</a><br/> True if locking aspect ratio of the video, false if not. </div><divclass="collapsibleAreaRegion"id="seeAlsoSection"><spanclass="collapsibleRegionTitle"onclick="SectionExpandCollapse('ID2RB')"onkeypress="SectionExpandCollapse_CheckKey('ID2RB', event)"tabindex="0"><imgid="ID2RBToggle"class="collapseToggle"src="../icons/SectionExpanded.png"/>See Also</span></div><divid="ID2RBSection"class="collapsibleSection"><h4class="subHeading">Reference</h4><divclass="seeAlsoStyle"><ahref="8b6c756f-d88d-a439-ae46-36933c20e4cc.htm">OptionsConfiguration Class</a></div><divclass="seeAlsoStyle"><ahref="e151fc72-f3cc-1740-7ea1-73c21ce1fa93.htm">butterflow_ui Namespace</a></div></div></div></div><divid="pageFooter"class="pageFooter"></div></body></html>