Je crée un fichier au format RTF en VB en utilisant les "balises" que j'ai
pu comprendre en ouvant un autre fichier RTF avec Notepad. Mais je n'arrive
pas à spécifier la taille du papier (lettre ou légal) ni les marges du
document.
Je crée un fichier au format RTF en VB en utilisant les "balises" que j 'ai pu comprendre en ouvant un autre fichier RTF avec Notepad. Mais je n'arri ve pas à spécifier la taille du papier (lettre ou légal) ni les marges du document.
Savez-vous comment faire ?
Hello,
Dans la spécification de RTF 1.9, page 51, on peut lire ceci: <quote src="http://www.microsoft.com/downloads/details.aspx? FamilyIdÝ422B8D-FF06-4207-B476-6B5396A18A2B&displaylang=en"> Page Information paperwN Paper width in twips (the default is 12,240). paperhN Paper height in twips (the default is 15,840). pszN Used to differentiate between paper sizes with identical dimensions in Microsoft Windows NT®. Values 1 through 41 correspond to paper sizes defined in DRIVINI.H in the Windows 3.1 SDK (DMPAPER_ values). Values greater than or equal to 42 correspond to user-defined forms in Windows NT. marglN Left margin in twips (the default is 1800). margrN Right margin in twips (the default is 1800). margtN Top margin in twips (the default is 1440). margbN Bottom margin in twips (the default is 1440). </quote>
Je n'ai personellement jamais travaillé avec cette partie de la spec, mais en lisant le document de référence, je suis certain que tu pourra déterminer exactement comment utiliser ces informations.
François Picalausa
On Oct 4, 3:43 pm, Patrick <Patr...@discussions.microsoft.com> wrote:
Bonjour,
Je crée un fichier au format RTF en VB en utilisant les "balises" que j 'ai
pu comprendre en ouvant un autre fichier RTF avec Notepad. Mais je n'arri ve
pas à spécifier la taille du papier (lettre ou légal) ni les marges du
document.
Savez-vous comment faire ?
Hello,
Dans la spécification de RTF 1.9, page 51, on peut lire ceci:
<quote src="http://www.microsoft.com/downloads/details.aspx?
FamilyId=DD422B8D-FF06-4207-B476-6B5396A18A2B&displaylang=en">
Page Information
paperwN Paper width in twips (the default is 12,240).
paperhN Paper height in twips (the default is 15,840).
pszN Used to differentiate between paper sizes with identical
dimensions in Microsoft Windows NT®. Values 1 through 41 correspond to
paper sizes defined in DRIVINI.H in the Windows 3.1 SDK (DMPAPER_
values). Values greater than or equal to 42 correspond to user-defined
forms in Windows NT.
marglN Left margin in twips (the default is 1800).
margrN Right margin in twips (the default is 1800).
margtN Top margin in twips (the default is 1440).
margbN Bottom margin in twips (the default is 1440).
</quote>
Je n'ai personellement jamais travaillé avec cette partie de la spec,
mais en lisant le document de référence, je suis certain que tu pourra
déterminer exactement comment utiliser ces informations.
Je crée un fichier au format RTF en VB en utilisant les "balises" que j 'ai pu comprendre en ouvant un autre fichier RTF avec Notepad. Mais je n'arri ve pas à spécifier la taille du papier (lettre ou légal) ni les marges du document.
Savez-vous comment faire ?
Hello,
Dans la spécification de RTF 1.9, page 51, on peut lire ceci: <quote src="http://www.microsoft.com/downloads/details.aspx? FamilyIdÝ422B8D-FF06-4207-B476-6B5396A18A2B&displaylang=en"> Page Information paperwN Paper width in twips (the default is 12,240). paperhN Paper height in twips (the default is 15,840). pszN Used to differentiate between paper sizes with identical dimensions in Microsoft Windows NT®. Values 1 through 41 correspond to paper sizes defined in DRIVINI.H in the Windows 3.1 SDK (DMPAPER_ values). Values greater than or equal to 42 correspond to user-defined forms in Windows NT. marglN Left margin in twips (the default is 1800). margrN Right margin in twips (the default is 1800). margtN Top margin in twips (the default is 1440). margbN Bottom margin in twips (the default is 1440). </quote>
Je n'ai personellement jamais travaillé avec cette partie de la spec, mais en lisant le document de référence, je suis certain que tu pourra déterminer exactement comment utiliser ces informations.
François Picalausa
Patrick
Merci beaucoup. Je vais regarder cela.
-- Patrick
"François Picalausa" wrote:
On Oct 4, 3:43 pm, Patrick wrote: > Bonjour, > > Je crée un fichier au format RTF en VB en utilisant les "balises" que j'ai > pu comprendre en ouvant un autre fichier RTF avec Notepad. Mais je n'arrive > pas à spécifier la taille du papier (lettre ou légal) ni les marges du > document. > > Savez-vous comment faire ?
Hello,
Dans la spécification de RTF 1.9, page 51, on peut lire ceci: <quote src="http://www.microsoft.com/downloads/details.aspx? FamilyIdÝ422B8D-FF06-4207-B476-6B5396A18A2B&displaylang=en"> Page Information paperwN Paper width in twips (the default is 12,240). paperhN Paper height in twips (the default is 15,840). pszN Used to differentiate between paper sizes with identical dimensions in Microsoft Windows NT®. Values 1 through 41 correspond to paper sizes defined in DRIVINI.H in the Windows 3.1 SDK (DMPAPER_ values). Values greater than or equal to 42 correspond to user-defined forms in Windows NT. marglN Left margin in twips (the default is 1800). margrN Right margin in twips (the default is 1800). margtN Top margin in twips (the default is 1440). margbN Bottom margin in twips (the default is 1440). </quote>
Je n'ai personellement jamais travaillé avec cette partie de la spec, mais en lisant le document de référence, je suis certain que tu pourra déterminer exactement comment utiliser ces informations.
François Picalausa
Merci beaucoup. Je vais regarder cela.
--
Patrick
"François Picalausa" wrote:
On Oct 4, 3:43 pm, Patrick <Patr...@discussions.microsoft.com> wrote:
> Bonjour,
>
> Je crée un fichier au format RTF en VB en utilisant les "balises" que j'ai
> pu comprendre en ouvant un autre fichier RTF avec Notepad. Mais je n'arrive
> pas à spécifier la taille du papier (lettre ou légal) ni les marges du
> document.
>
> Savez-vous comment faire ?
Hello,
Dans la spécification de RTF 1.9, page 51, on peut lire ceci:
<quote src="http://www.microsoft.com/downloads/details.aspx?
FamilyIdÝ422B8D-FF06-4207-B476-6B5396A18A2B&displaylang=en">
Page Information
paperwN Paper width in twips (the default is 12,240).
paperhN Paper height in twips (the default is 15,840).
pszN Used to differentiate between paper sizes with identical
dimensions in Microsoft Windows NT®. Values 1 through 41 correspond to
paper sizes defined in DRIVINI.H in the Windows 3.1 SDK (DMPAPER_
values). Values greater than or equal to 42 correspond to user-defined
forms in Windows NT.
marglN Left margin in twips (the default is 1800).
margrN Right margin in twips (the default is 1800).
margtN Top margin in twips (the default is 1440).
margbN Bottom margin in twips (the default is 1440).
</quote>
Je n'ai personellement jamais travaillé avec cette partie de la spec,
mais en lisant le document de référence, je suis certain que tu pourra
déterminer exactement comment utiliser ces informations.
On Oct 4, 3:43 pm, Patrick wrote: > Bonjour, > > Je crée un fichier au format RTF en VB en utilisant les "balises" que j'ai > pu comprendre en ouvant un autre fichier RTF avec Notepad. Mais je n'arrive > pas à spécifier la taille du papier (lettre ou légal) ni les marges du > document. > > Savez-vous comment faire ?
Hello,
Dans la spécification de RTF 1.9, page 51, on peut lire ceci: <quote src="http://www.microsoft.com/downloads/details.aspx? FamilyIdÝ422B8D-FF06-4207-B476-6B5396A18A2B&displaylang=en"> Page Information paperwN Paper width in twips (the default is 12,240). paperhN Paper height in twips (the default is 15,840). pszN Used to differentiate between paper sizes with identical dimensions in Microsoft Windows NT®. Values 1 through 41 correspond to paper sizes defined in DRIVINI.H in the Windows 3.1 SDK (DMPAPER_ values). Values greater than or equal to 42 correspond to user-defined forms in Windows NT. marglN Left margin in twips (the default is 1800). margrN Right margin in twips (the default is 1800). margtN Top margin in twips (the default is 1440). margbN Bottom margin in twips (the default is 1440). </quote>
Je n'ai personellement jamais travaillé avec cette partie de la spec, mais en lisant le document de référence, je suis certain que tu pourra déterminer exactement comment utiliser ces informations.