France - Français
Argentina (Español)
Australia (English)
Brasil (Português)
Canada (English)
Canada (Français)
中国 (简体中文)
Colombia (Español)
Deutschland (Deutsch)
España (Español)
France (Français)
India (English)
Italia (Italiano)
日本 (日本語)
México (Español)
Perú (Español)
Россия (Pусский)
United Kingdom (English)
United States (English)
Plus...
Microsoft.com
Bienvenue
Connexion
Office Development with Visual Studio Developer Center
Home
Library
Learn
Downloads
Support
Community
Forums
Version imprimable
Envoyer
Cliquez pour évaluer et commenter
Faites-nous part de vos commentaires sur ce contenu
MSDN Library
MSDN
Veuillez patienter
MSDN Library
Veuillez patienter
Langages et outils de développ...
Veuillez patienter
Visual Studio 2005
Veuillez patienter
Documentation Visual Studio
Veuillez patienter
Visual Studio Tools for Office
Veuillez patienter
Référence
Veuillez patienter
Microsoft Office Word Primary Inter...
Veuillez patienter
Microsoft.Office.Interop.Word
Veuillez patienter
Template Interface
Veuillez patienter
Template Members
Passer à l'affichage pour faible bande passante
Réduire tout
Word Primary Interop Assembly Reference
Template Members
Represents a document template.
The following tables list the members exposed by the
Template
type.
Public Properties
Name
Description
Application
Returns a
Application
object that represents the Microsoft Word application.
AutoTextEntries
Returns a
AutoTextEntries
collection that represents all the AutoText entries in the specified template.
BuiltInDocumentProperties
Returns a
Microsoft.Office.Core.DocumentProperties
collection that represents all the built-in document properties for the specified document.
Creator
Returns a 32-bit integer that indicates the application in which the specified object was created.
CustomDocumentProperties
Returns a
Microsoft.Office.Core.DocumentProperties
collection that represents all the custom document properties for the specified document.
FarEastLineBreakLanguage
Returns or sets the East Asian language to use when breaking lines of text in the specified document or template.
FarEastLineBreakLevel
Returns or sets the line break control level for the specified document.
FullName
Specifies the name of a template, including the drive or Web path.
JustificationMode
Returns or sets the character spacing adjustment for the specified template.
KerningByAlgorithm
True
if Microsoft Word kerns half-width Latin characters and punctuation marks in the specified document.
LanguageID
Returns or sets the language for the specified object.
LanguageIDFarEast
Returns or sets an East Asian language for the specified object.
ListTemplates
Returns a
ListTemplates
collection that represents all the list formats for the specified template.
Name
Returns or sets the name of the specified object.
NoLineBreakAfter
Returns or sets the kinsoku characters after which Microsoft Word will not break a line.
NoLineBreakBefore
Returns or sets the kinsoku characters before which Microsoft Word will not break a line.
NoProofing
True
if the spelling and grammar checker ignores documents based on this template.
Parent
Returns an object that represents the parent object of the specified object.
Path
Returns the disk or Web path to the specified object.
Saved
True
if the specified document or template hasn't changed since it was last saved.
False
if Microsoft Word displays a prompt to save changes when the document is closed.
Type
Returns the template type.
VBProject
Returns the
VBProject
object for the specified template.
Top
Public Methods
Name
Description
OpenAsDocument
Opens the specified template as a document and returns a
Document
object.
Save
Saves the specified document or template.
Top
See Also
Reference
Template Interface
Microsoft.Office.Interop.Word Namespace
Gérer votre profil
|
Contactez-nous
|
Newsletter MSDN
© 2009 Microsoft Corporation. Tous droits réservés.
Conditions d'utilisation
|
Marques
|
Confidentialité