PdfSaveOptionsFluent
OfficeIMO.Pdf
The fluent methods of PdfSaveOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.
Inheritance
- object
- PdfSaveOptionsFluent
Methods
public static PdfSaveOptions AllowLoss(PdfSaveOptions pdfSaveOptions, bool value = true) #Sets PdfSaveOptions.AllowLoss: Accepts fidelity loss introduced by native PDF serialization. The default blocks it.
Parameters
- pdfSaveOptions OfficeIMO.Pdf.PdfSaveOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfSaveOptions { AllowLoss = value }; pdfSaveOptions.AllowLoss(value);public static PdfSaveOptions ConflictPolicy(PdfSaveOptions pdfSaveOptions, OfficeConversionFileConflictPolicy value) #Sets PdfSaveOptions.ConflictPolicy: Controls whether a file destination may replace an existing file.
Parameters
- pdfSaveOptions OfficeIMO.Pdf.PdfSaveOptions
- The instance.
- value OfficeIMO.OfficeConversionFileConflictPolicy
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfSaveOptions { ConflictPolicy = value }; pdfSaveOptions.ConflictPolicy(value);public static PdfSaveOptions Encryption(PdfSaveOptions pdfSaveOptions, PdfStandardEncryptionOptions? value) #Sets PdfSaveOptions.Encryption: Encrypts this output after native fidelity validation. Null preserves existing security.
Parameters
- pdfSaveOptions OfficeIMO.Pdf.PdfSaveOptions
- The instance.
- value OfficeIMO.Pdf.PdfStandardEncryptionOptions?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfSaveOptions { Encryption = value }; pdfSaveOptions.Encryption(value);public static PdfSaveOptions Encryption(PdfSaveOptions pdfSaveOptions, Action<PdfStandardEncryptionOptions> configure) #Configures PdfSaveOptions.Encryption in place: Encrypts this output after native fidelity validation. Null preserves existing security.
Parameters
- pdfSaveOptions OfficeIMO.Pdf.PdfSaveOptions
- The instance.
- configure System.Action<OfficeIMO.Pdf.PdfStandardEncryptionOptions>
- Configures the value.