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;
}
}
不動産価値
ドキュメンタリーオプション
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
GetDocumentSaveオプション()
ノートブックのすべての児童文書の保存オプションを取得します。
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 サブオプション