GroupDocs.Redaction for .NET은 귀하의 .NET 앱이 문서 내용을 신속히 보호하도록 돕습니다.
- Redactor 객체를 생성하고 Powerpoint 파일을 지정하세요.
- 필요에 맞게 정리 설정을 조정합니다.
- 이미지 영역을 선택하고 오버레이 색상을 할당합니다.
- 정리를 처리하고 파일을 저장하세요.
GroupDocs.Redaction for .NET은 귀하의 .NET 앱이 문서 내용을 신속히 보호하도록 돕습니다.
// POWERPOINT 파일의 민감한 이미지 영역 정리하기
// Redactor를 사용하여 파일을 로드합니다.
using (Redactor redactor = new Redactor("input.pptx"))
{
// 오버레이 색상 및 크기를 정의합니다.
Size replacement_size = new Size(100, 100);
var replacement_options = new RegionReplacementOptions(Color.Blue, replacement_size);
// 정리할 영역 선택하기
Point replacement_point = new Point(200, 200);
var redaction = new ImageAreaRedaction(replacement_point, replacement_options);
// 오버레이를 적용하고 문서를 저장하세요.
redactor.Apply(redaction);
redactor.Save();
}
GroupDocs.Redaction for .NET은 다양한 문서 형식에서 콘텐츠를 숨기거나 삭제할 수 있는 도구를 제공합니다. 개인 데이터를 보호하는 동시에 파일을 사용하기 쉽게 유지합니다.
문서에서 민감한 텍스트를 찾아 수정하여 보안을 강화합니다.
이미지 또는 선택된 영역에 오버레이를 사용하여 제거합니다.
숨겨진 메타데이터를 삭제하거나 수정하여 데이터 유출을 방지하세요.
// 문서를 로드합니다.
using (Redactor redactor = new Redactor("source.pptx"))
{
// 오버레이의 크기, 위치 및 색상을 설정합니다.
Size replacement_size = new Size(300, 30);
var replacement_options = new RegionReplacementOptions(Color.Blue, replacement_size);
Point replacement_point = new Point(20, 125);
var redaction = new ImageAreaRedaction(replacement_point, replacement_options);
// 첫 페이지의 정리할 영역을 지정합니다.
redaction.Filters = new RedactionFilter[] {
new PageRangeFilter(PageSeekOrigin.Begin, 0, 1),
new PageAreaFilter(new Point(0, 300), new Size(600, 600))
};
// 오버레이를 적용하여 이미지를 보호합니다.
redactor.Apply(redaction);
// 정리된 파일을 저장합니다.
var save_options = new SaveOptions() { AddSuffix = true, RasterizeToPDF = false };
var outputPath = redactor.Save(save_options);
}
.NET를 사용하여 POWERPOINT 파일의 민감한 정보를 숨기거나 삭제하세요. 민감한 문서를 보호하기 위한 신뢰할 수 있는 솔루션입니다.