Delen via


AnnotationType Enum

Definition

Provides a set of constants that identify types of annotations in a document, as used by the ISpreadsheetItemProvider Microsoft UI Automation interface.

public enum class AnnotationType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class AnnotationType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum AnnotationType
Public Enum AnnotationType
Inheritance
AnnotationType
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Unknown 60000

The annotation type is unknown.

SpellingError 60001

A spelling error, often denoted by a red squiggly line.

GrammarError 60002

A grammatical error, often denoted by a green squiggly line.

Comment 60003

A comment. Comments can take different forms depending on the application.

FormulaError 60004

An error in a formula. Formula errors typically include red text and exclamation marks.

TrackChanges 60005

A change that was made to the document.

Header 60006

The header for a page in a document.

60007

The footer for a page in a document.

Highlighted 60008

Highlighted content, typically denoted by a contrasting background color.

Endnote 60009

Endnote content.

Footnote 60010

Footnote content.

InsertionChange 60011

An insertion change.

DeletionChange 60012

A deletion change.

MoveChange 60013

A move change.

FormatChange 60014

A format change.

UnsyncedChange 60015

An unsynced change.

EditingLockedChange 60016

An editing locked change.

ExternalChange 60017

An external change.

ConflictingChange 60018

A conflicting change.

Author 60019

Author info.

AdvancedProofingIssue 60020

An advanced proofing issue.

DataValidationError 60021

A data validation error.

CircularReferenceError 60022

A circular reference error.

Remarks

This enumeration is used as an input value to the GetAnnotationTypes method.

The values in AnnotationType parallel the values in the Annotation Type Identifiers constants.

Version history

Windows version SDK version Value added
1607 14393 AdvancedProofingIssue
1607 14393 Author
1607 14393 CircularReferenceError
1607 14393 ConflictingChange
1607 14393 DataValidationError
1607 14393 DeletionChange
1607 14393 EditingLockedChange
1607 14393 ExternalChange
1607 14393 FormatChange
1607 14393 InsertionChange
1607 14393 MoveChange
1607 14393 UnsyncedChange

Applies to

See also