Class NotebookSaveOptions
이름 공간 : Aspose.Note.Saving 모임: Aspose.Note.dll (25.4.0)
특정 형식의 노트북 저장 옵션을 나타내는 추상 기반 클래스그리고 모든 문서 어린이 노드에 대한 일반적인 저장 옵션을 제공합니다.
public abstract class NotebookSaveOptions<TDocumentSaveOptions>
where TDocumentSaveOptions : SaveOptions
{
}
파라미터 유형
TDocumentSaveOptions
노트북의 모든 어린이 문서에 대한 저장 옵션.
Inheritance
object
←
NotebookSaveOptions
←
NotebookSaveOptions
상속 회원들
NotebookSaveOptions.GetDocumentSaveOptions() , NotebookSaveOptions.SaveFormat , NotebookSaveOptions.Flatten , NotebookSaveOptions.DeferredSaving , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Examples
지정된 옵션으로 PDF 형식으로 노트북을 저장하는 방법을 보여줍니다.
string dataDir = RunExamples.GetDataDir_NoteBook();
var notebook = new Notebook(dataDir + "Notizbuch Öffnen.onetoc2");
var notebookSaveOptions = new NotebookPdfSaveOptions();
var documentSaveOptions = notebookSaveOptions.DocumentSaveOptions;
documentSaveOptions.PageSplittingAlgorithm = new KeepSolidObjectsAlgorithm();
dataDir += "ConvertToPDF_out.pdf";
notebook.Save(dataDir, notebookSaveOptions);
Constructors
노트북SaveOptions()
protected void NotebookSaveOptions()
{
}
Properties
DocumentSaveOptions
모든 노트북의 어린이 문서에 대한 저장 옵션을 얻거나 설정합니다.
public TDocumentSaveOptions DocumentSaveOptions
{
get
{
return this.DocumentSaveOptions;
}
protected set
{
this.DocumentSaveOptions = value;
}
}
부동산 가치
TDocumentSave옵션
Examples
지정된 옵션으로 PDF 형식으로 노트북을 저장하는 방법을 보여줍니다.
string dataDir = RunExamples.GetDataDir_NoteBook();
var notebook = new Notebook(dataDir + "Notizbuch Öffnen.onetoc2");
var notebookSaveOptions = new NotebookPdfSaveOptions();
var documentSaveOptions = notebookSaveOptions.DocumentSaveOptions;
documentSaveOptions.PageSplittingAlgorithm = new KeepSolidObjectsAlgorithm();
dataDir += "ConvertToPDF_out.pdf";
notebook.Save(dataDir, notebookSaveOptions);
SaveFormat
노트북이 저장되는 형식을 얻습니다.
public override SaveFormat GetSaveFormat()
{
return this.SaveFormat;
}
부동산 가치
Methods
옵션에 대한 자세한 내용은()
노트북의 모든 어린이 문서에 대한 저장 옵션을 얻습니다.
public override SaveOptions GetDocumentSaveOptions()
{
return new SaveOptions
{
Encoding = System.Text.Encoding.UTF8,
CreateHeadingsWithStyle = true,
OmitFontSubstitutionWarning = true,
SaveFormat = SaveFormat.Docx,
SaveFormatVersion = PdfSaveFormatVersion.AutoDetect,
SaveToFolder = @"C:\Temp\MyDocument",
CreateFolderIfMissing = false,
AllowPartialContentLoad = true,
SaveEncryptionSettings = new EncryptionSettings(true, "", "", AesSyncedKeyDecryptionMode.Automatic),
ErrorHandling = ErrorHandling.StopOnFirstError
};
}
Returns
ASPOSE.Note.Saving 저장 옵션