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개 더.
속성
| 이름 | 유형 | 액세스 | 설명 |
|---|---|---|---|
IsDirty | bool | Read | 마지막 저장/로드 이후에 속성이 수정되었는지 여부. |
Count | int | Read | 기본 /Info 사전의 메타데이터 항목 수. |
Keys | IEnumerable<string> | Read | 모든 메타데이터 항목 키. |
Title | string? | Read/Write | 제목을 가져오거나 설정합니다. |
Author | string? | Read/Write | 작성자를 가져오거나 설정합니다. |
Subject | string? | Read/Write | 주제를 가져오거나 설정합니다. |
Keywords | string? | Read/Write | 키워드를 가져오거나 설정합니다. |
Creator | string? | Read/Write | 제작자를 가져오거나 설정합니다. |
Producer | string? | Read/Write | 생산자를 가져오거나 설정합니다. |
Trapped | string? | Read/Write | Trapped 속성을 가져오거나 설정합니다. |
CreationDate | DateTime | Read/Write | 생성 날짜를 가져오거나 설정합니다. |
ModDate | DateTime | Read/Write | 수정 날짜를 가져오거나 설정합니다. |
CreationTimeZone | TimeSpan | Read/Write | CreationDate 메타데이터에 저장된 시간대 오프셋, 없을 경우 0. |
ModTimeZone | TimeSpan | Read/Write | ModDate 메타데이터에 저장된 시간대 오프셋, 없을 경우 0. |
메서드
| Signature | Description |
|---|---|
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) | 사용자 정의 메타데이터 속성을 가져옵니다. |