StyleSheet Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a single cascading style sheet attached to a web document.
public interface class StyleSheet
[System.Runtime.InteropServices.Guid("000209EF-0000-0000-C000-000000000046")]
public interface StyleSheet
type StyleSheet = interface
Public Interface StyleSheet
- Attributes
Remarks
The StyleSheet object is a member of the StyleSheets collection. The StyleSheets collection contains all the cascading style sheets attached to a specified document.
Use the Item[Object] property or StyleSheets(index
), where index
is the name or number of the style sheet, of the StyleSheets collection to return a StyleSheet object.
Use the Index property to determine the precedence of cascading style sheets.
Use the Move(WdStyleSheetPrecedence) method to reorder the precedence of attached style sheets.
Properties
Application |
Returns a Application object that represents the Microsoft Word application. |
Creator |
Returns a 32-bit integer that indicates the application in which the specified object was created. |
FullName |
Specifies the name of a cascading style sheet, including the drive or Web path. |
Index |
Returns an Integer that represents the position of an item in a collection. |
Name |
Returns the name of the specified object. |
Parent |
Returns an object that represents the parent object of the specified object. |
Path |
Returns the disk or Web path to the specified object. |
Title |
Returns a String representing the title of a Web style sheet. |
Type |
Returns the template type. |
Methods
Delete() |
Deletes the specified object. |
Move(WdStyleSheetPrecedence) |
Moves a style sheet's order of precedence. |
Applies to
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기