Share via


DocumentBase.DisableFeaturesIntroducedAfter 속성

지정된 버전의 Microsoft Office Word 이후에 추가된 모든 기능이 해당 문서에서 비활성화되어 있는지 여부를 결정하는 값을 가져오거나 설정합니다.

네임스페이스:  Microsoft.Office.Tools.Word
어셈블리:  Microsoft.Office.Tools.Word.v4.0.Utilities(Microsoft.Office.Tools.Word.v4.0.Utilities.dll)

구문

‘선언
Public Property DisableFeaturesIntroducedAfter As WdDisableFeaturesIntroducedAfter
    Get
    Set
public WdDisableFeaturesIntroducedAfter DisableFeaturesIntroducedAfter { get; set; }

속성 값

형식: Microsoft.Office.Interop.Word.WdDisableFeaturesIntroducedAfter
WdDisableFeaturesIntroducedAfter 값 중 하나

설명

DisableFeaturesIntroducedAfter 속성을 설정하기 전에 DisableFeatures 속성을 true로 설정해야 합니다. 그렇지 않으면 설정이 적용되지 않고 Word 97 for Windows의 기본 설정으로 남게 됩니다.

DisableFeaturesIntroducedAfter 속성은 이 속성이 설정된 문서에만 적용됩니다. 응용 프로그램의 전역 옵션을 설정하여 모든 문서에 대해 기능을 비활성화하려면 DisableFeaturesIntroducedAfterbyDefault 속성을 사용합니다.

예제

다음 코드 예제에서는 문서에 대해 Word for Windows 95, Word 버전 7.0 및 7.0a 이후에 추가된 모든 기능을 비활성화합니다. 이 예제를 사용하려면 문서 수준 프로젝트 ThisDocument 클래스에서 실행하십시오.

Private Sub DocumentDisableFeaturesIntroducedAfter()
    If Me.DisableFeatures = True Then
        Me.DisableFeaturesIntroducedAfter = Word.WdDisableFeaturesIntroducedAfter.wd70
    Else
        Me.DisableFeatures = True
        Me.DisableFeaturesIntroducedAfter = Word.WdDisableFeaturesIntroducedAfter.wd70
    End If
End Sub 
private void DocumentDisableFeaturesIntroducedAfter()
{
    if (this.DisableFeatures == true)
    {
        this.DisableFeaturesIntroducedAfter = Word.
            WdDisableFeaturesIntroducedAfter.wd70;
    }
        else
    {
        this.DisableFeatures = true;
        this.DisableFeaturesIntroducedAfter = Word.
            WdDisableFeaturesIntroducedAfter.wd70;
    }
}

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

DocumentBase 클래스

Microsoft.Office.Tools.Word 네임스페이스