Visualiser un rectangle à partir des coordonnées x y

Résolu
NulleAbsolue Messages postés 2 Date d'inscription lundi 25 février 2008 Statut Membre Dernière intervention 15 octobre 2008 - 9 oct. 2008 à 14:52
NHenry Messages postés 15114 Date d'inscription vendredi 14 mars 2003 Statut Modérateur Dernière intervention 4 mai 2024 - 9 oct. 2008 à 16:22
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="ProgId" content="Word.Document" />
<meta name="Generator" content="Microsoft Word 11" />
<meta name="Originator" content="Microsoft Word 11" />
<link rel="File-List" href="file:///C:%5CDOCUME%7E1%5Cbosa%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml" />
<!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:HyphenationZone>21</w:HyphenationZone>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]-->
<!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" LatentStyleCount="156">
</w:LatentStyles>
</xml><![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0cm;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
@page Section1
{size:595.3pt 841.9pt;
margin:70.9pt 70.9pt 70.9pt 70.9pt;
mso-header-margin:35.45pt;
mso-footer-margin:35.45pt;
mso-gutter-margin:14.2pt;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Tableau Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";
mso-ansi-language:#0400;
mso-fareast-language:#0400;
mso-bidi-language:#0400;}
</style>
<![endif]-->
Bonjour.


J'ai une question de débutant.


Je suis une étudiante en France en Carto et il faut que je crée
un programme pour afficher un rectangle dont je connais les coordonnées Lambert
93 des 4 sommets.


Je ne sais même pas par quoi il faut commencer. Je suis
arrivée à importer des coordonnées x, y dans les TextBox à partir d’un fichier .txt,
j’arrive aussi calculer les distances entre tous les points, mais je reste
bloquer pour visualisation.


Merci, si quelqu'un à une idée.


(Sorry pour des fautes d’orthographe)

1 réponse

NHenry Messages postés 15114 Date d'inscription vendredi 14 mars 2003 Statut Modérateur Dernière intervention 4 mai 2024 159
9 oct. 2008 à 16:22
Bonjour,

Soit sur ton controle graphique (Form ou PictureBox) :
Ctl.Line(Source ...) 'voir l'aide
ou alors en utilisant un controle Shape (voir dans la boite à outils).

http://nhen0039.chez-alice.fr/index.php
3
Rejoignez-nous