DocumentInfo

DocumentInfo

개요

DocumentInfo은 .NET용 Aspose.PDF FOSS의 클래스입니다.

문서 정보 사전을 나타냅니다.

이 클래스는 .NET 프로그램에서 DocumentInfo 객체를 작업하기 위한 9개의 메서드를 제공합니다. 사용 가능한 메서드에는: Add, Clear, ClearCustomData, ContainsKey, DocumentInfo, GetCustom, IsPredefinedKey, Remove, SetCustom가 포함됩니다. 모든 public 멤버는 Aspose.PDF FOSS for .NET 패키지를 설치한 후 any .NET application에서 접근할 수 있습니다. 속성: Author, Count, CreationDate, CreationTimeZone, Creator, IsDirty 및 8개 더.

속성

이름유형액세스설명
IsDirtyboolRead마지막 저장/로드 이후에 속성이 수정되었는지 여부.
CountintRead기본 /Info 사전의 메타데이터 항목 수.
KeysIEnumerable<string>Read모든 메타데이터 항목 키.
Titlestring?Read/Write제목을 가져오거나 설정합니다.
Authorstring?Read/Write작성자를 가져오거나 설정합니다.
Subjectstring?Read/Write주제를 가져오거나 설정합니다.
Keywordsstring?Read/Write키워드를 가져오거나 설정합니다.
Creatorstring?Read/Write제작자를 가져오거나 설정합니다.
Producerstring?Read/Write생산자를 가져오거나 설정합니다.
Trappedstring?Read/WriteTrapped 속성을 가져오거나 설정합니다.
CreationDateDateTimeRead/Write생성 날짜를 가져오거나 설정합니다.
ModDateDateTimeRead/Write수정 날짜를 가져오거나 설정합니다.
CreationTimeZoneTimeSpanRead/WriteCreationDate 메타데이터에 저장된 시간대 오프셋, 없을 경우 0.
ModTimeZoneTimeSpanRead/WriteModDate 메타데이터에 저장된 시간대 오프셋, 없을 경우 0.

메서드

SignatureDescription
DocumentInfo(document: Document)주어진 문서에 대한 DocumentInfo 인스턴스를 생성합니다.
IsPredefinedKey(key: string)주어진 키가 PDF 32000-2 § 14.3.3에 정의된 잘 알려진 PDF 문서 정보 사전 항목(Title, Author, Subject, Keywords, Creator, Producer, CreationDate, ModDate, Trapped) 중 하나인지 여부.
Clear()/Info 사전의 모든 항목을 제거합니다.
ClearCustomData()사전 정의되지 않은(사용자 정의) 모든 항목을 제거합니다.
Remove(key: string)키에 해당하는 항목을 제거합니다.
SetCustom(key: string, value: string)사용자 정의 메타데이터 속성을 설정합니다.
Add(key: string, value: string)사용자 정의 메타데이터 속성을 추가합니다.
ContainsKey(key: string)기본 /Info 사전에 주어진 키에 대한 항목이 있는지 여부.
GetCustom(key: string)사용자 정의 메타데이터 속성을 가져옵니다.

참조

 한국어