AutoCaptions 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.
A collection of AutoCaption objects that represent the captions that can be automatically added when items such as tables, pictures, or OLE objects are inserted into a document.
public interface class AutoCaptions : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("0002097A-0000-0000-C000-000000000046")]
public interface AutoCaptions : System.Collections.IEnumerable
type AutoCaptions = interface
interface IEnumerable
Public Interface AutoCaptions
Implements IEnumerable
- Attributes
- Implements
Remarks
Use the AutoCaptions property to return the AutoCaptions collection.
The AutoCaptions collection contains all the captions listed in the AutoCaption dialog box (Insert menu). AutoCaption objects cannot be programmatically added to or deleted from the AutoCaptions collection.
Use AutoCaptions(index
), where index
is the caption name or index number, to return a single AutoCaption object. The caption names correspond to the items listed in the AutoCaption dialog box (Insert menu). You must exactly match the spelling (but not necessarily the capitalization) of the name, as it's shown in the AutoCaption dialog box.
The index number represents the position of the AutoCaption object in the list of captions in the AutoCaption dialog box.
Properties
Application |
Returns an Application object that represents the creator of the specified object. |
Count |
Returns the number of items in the specified collection. |
Creator |
Returns a value that indicates the application in which the specified object was created. |
Item[Object] |
Returns an individual object in a collection. |
Parent |
Returns an object that represents the parent object of the specified object. |
Methods
CancelAutoInsert() |
Prevents Microsoft Word from automatically adding captions to any type of item. |
GetEnumerator() |
Applies to
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기