Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
평탄화 과정은 문서에서 주석이 제거될 때 그 시각적 표현이 그대로 유지되는 것을 의미합니다. 평탄화된 주석은 여전히 보이지만 사용자가나 앱에서 더 이상 편집할 수 없습니다. 예를 들어, 문서에 주석을 영구적으로 적용하거나 주석을 표시할 수 없는 뷰어에게 주석을 보이게 하는 데 사용할 수 있습니다. 지정하지 않으면 내보내기는 모든 주석을 그대로 유지합니다.
이 옵션이 선택되면 주석이 PDF 표준 주석으로 내보내진 PDF에 포함됩니다.
다음 코드 조각에서 사용된 flatteningAnnotations 메서드를 확인하십시오.
// For complete examples and data files, visit https://github.com/aspose-pdf/Aspose.PDF-for-.NET
private static void FlattenAnnotationFromPdf()
{
// The path to the documents directory
var dataDir = RunExamples.GetDataDir_AsposePdfFacades_Annotations();
// Create PdfAnnotationEditor
using (var annotationEditor = new Aspose.Pdf.Facades.PdfAnnotationEditor())
{
// Bind PDF document
annotationEditor.BindPdf(dataDir + "AnnotationsInput.pdf");
// Create FlattenSettings
var flattenSettings = new Aspose.Pdf.Forms.Form.FlattenSettings
{
ApplyRedactions = true,
CallEvents = false,
HideButtons = true,
UpdateAppearances = true
};
annotationEditor.FlatteningAnnotations(flattenSettings);
// Save PDF document
annotationEditor.Save(dataDir + "FlattenAnnotation_out.pdf");
}
}
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.