org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-6CD85E8A-698E-4BE2-B965-887E66E51ACC.html
author Eugene Ostroukhov <eugeneo@symbian.org>
Thu, 15 Jul 2010 10:08:51 -0700
changeset 450 ed815e0eef9a
parent 229 716254ccbcc0
permissions -rw-r--r--
Bug 3268 - Debugger does not start on Windows XP


<!DOCTYPE html
  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><meta name="copyright" content="(C) Copyright 2009"/><meta name="DC.rights.owner" content="(C) Copyright 2009"/><meta name="DC.Type" content="mobileconcept"/><meta name="DC.Title" content="isrotationsupported"/><meta name="DC.Relation" scheme="URI" content="GUID-55F6778A-D1DA-4288-93B2-0863558D34B7"/><meta name="DC.Relation" scheme="URI" content="GUID-7C69DDA4-16F1-4A8F-BDB2-4CB0015B4E81"/><meta name="DC.Relation" scheme="URI" content="GUID-6CD2776F-A868-4280-967F-4EB426212556"/><meta name="DC.Format" content="XHTML"/><meta name="DC.Identifier" content="GUID-6CD85E8A-698E-4BE2-B965-887E66E51ACC"/><title>isrotationsupported </title><script type="text/javascript">
      function initPage() {}
    </script><link href="../PRODUCT_PLUGIN/book.css" rel="stylesheet" type="text/css"/><link href="css/s60/style.css" rel="stylesheet" type="text/css" media="all"/></head><body onload="initPage();"><div class="body"><div class="contentLeft prTxt"><h1 class="pageHeading" id="GUID-6CD85E8A-698E-4BE2-B965-887E66E51ACC">isrotationsupported</h1><div>
<p><strong>Description:</strong></p>
<p><code>isrotationsupported</code> is a read-only property that returns a Boolean value determining if the device supports landscape and portrait screen orientations.</p>
<p>If the value is <code>true</code>, the device supports both landscape and portrait screen orientations.</p>
<p>For more information on handling screen orientation changes in a widget, see <a href="GUID-36CDDA1B-3B62-4936-9E06-7935AAD1CD77.html#GUID-36CDDA1B-3B62-4936-9E06-7935AAD1CD77">Designing for dynamic screen orientation</a>. </p>
<p><strong>Syntax:</strong></p>
<pre class="codeblock" id="GUID-ECF5DF95-A231-4143-9985-24ED32D40A54">[Boolean] window.widget.isrotationsupported</pre>
<p>or</p>
<pre class="codeblock" id="GUID-6A167FCE-C3F5-49EA-912F-8731FD5A5CAD">[Boolean] widget.isrotationsupported</pre>
<p><strong>Example code:</strong></p>
<p>See the <a href="GUID-A8DAB890-1BB6-42C6-8448-05F38EAFE985.html#GUID-A8DAB890-1BB6-42C6-8448-05F38EAFE985"><code>setDisplayLandscape()</code></a> or <a href="GUID-69A2FEC3-0BB7-4165-A473-76F1823A4534.html#GUID-69A2FEC3-0BB7-4165-A473-76F1823A4534"><code>setDisplayPortrait()</code></a> example code </p>
</div></div></div><div class="footer"><hr/><div class="copy">© Nokia 2009.</div></div></body></html>