공개 API는 Aspose에서 변경됩니다. Note 1.4.0

이 문서는 Aspose.Note API에 대한 변경 사항을 설명합니다. 여기에는 새롭고 업데이트 된 공개 방법뿐만 아니라 Aspose.note의 무대 뒤에서 행동의 변화에 ​​대한 설명도 포함됩니다.

OneNote 문서 노드를 검색하는 새로운 접근 방식

보다 유연한 접근 방식을 제공하고 유형 주조를 피하기 위해 유형별로 노드를 얻는 새로운 방법이 개발되었습니다. 오래된 샘플 코드 (.NET, C#) :

기음#

1 // OneNote 문서를로드합니다
2 Aspose.note.document onefile = new aspose.note.document (@"test.one");
3 
4 // RichText 유형 노드를 검색합니다
5 ilist <Node> richTextNodes = onefile.getChildNodes (aspose.note.nodetype.richtext);
6 
7 // 컬렉션에서 특정 노드를 검색합니다
8 ASPOSE.note.richtext firstTextNode = (aspose.note.richtext) RichTextNodes [0];

새 샘플 코드 (.NET, C#) :

기음#

1 // OneNote 문서를로드합니다
2 Aspose.note.document onefile = new aspose.note.document (@"test.one");
3 
4 // RichText 유형 노드를 검색합니다
5 ilist <RichText> richTextNodes = onefile.getChildNodes <RichText> ();
6 
7 // 컬렉션에서 특정 노드를 검색합니다
8 ASSPOSE.note.richtext FirstTextNode = RichTextNodes [0];
Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.