PdfDestructiveCropOptions
OfficeIMO.Pdf
Controls fail-closed raster replacement for destructive page cropping.
Inheritance
- object
- PdfDestructiveCropOptions
Usage
Explore 17 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 8
- Extension method PdfDestructiveCropOptions.AllowSimplifiedRendering
- Extension method PdfDestructiveCropOptions.Background
- Extension method PdfDestructiveCropOptions.Dpi
- Extension method PdfDestructiveCropOptions.MaxPixelsPerPage
- Method PdfDestructiveCropOptionsFluent.AllowSimplifiedRendering
- Method PdfDestructiveCropOptionsFluent.Background
- Method PdfDestructiveCropOptionsFluent.Dpi
- Method PdfDestructiveCropOptionsFluent.MaxPixelsPerPage
Accepted by parameters 9
- Extension method PdfDestructiveCropOptions.AllowSimplifiedRendering
- Extension method PdfDestructiveCropOptions.Background
- Extension method PdfDestructiveCropOptions.Dpi
- Extension method PdfDestructiveCropOptions.MaxPixelsPerPage
- Method PdfDestructiveCropOptionsFluent.AllowSimplifiedRendering
- Method PdfDestructiveCropOptionsFluent.Background
- Method PdfDestructiveCropOptionsFluent.Dpi
- Method PdfDestructiveCropOptionsFluent.MaxPixelsPerPage
- Method PdfDocumentPages.DestructiveCrop
Constructors
public PdfDestructiveCropOptions() #Inherited Methods
Properties
public OfficeColor Background { get; set; } #Opaque replacement background.
public long MaxPixelsPerPage { get; set; } #Maximum pixels per destructively cropped page.
public bool AllowSimplifiedRendering { get; set; } #Allows documented simplified renderer capabilities such as system-font substitution.
Extension Methods
public static PdfDestructiveCropOptions AllowSimplifiedRendering(PdfDestructiveCropOptions pdfDestructiveCropOptions, bool value = true) #Sets PdfDestructiveCropOptions.AllowSimplifiedRendering: Allows documented simplified renderer capabilities such as system-font substitution.
Parameters
- pdfDestructiveCropOptions OfficeIMO.Pdf.PdfDestructiveCropOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfDestructiveCropOptions { AllowSimplifiedRendering = value }; pdfDestructiveCropOptions.AllowSimplifiedRendering(value);public static PdfDestructiveCropOptions Background(PdfDestructiveCropOptions pdfDestructiveCropOptions, OfficeColor value) #Sets PdfDestructiveCropOptions.Background: Opaque replacement background.
Parameters
- pdfDestructiveCropOptions OfficeIMO.Pdf.PdfDestructiveCropOptions
- The instance.
- value OfficeIMO.OfficeColor
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfDestructiveCropOptions { Background = value }; pdfDestructiveCropOptions.Background(value);public static PdfDestructiveCropOptions Dpi(PdfDestructiveCropOptions pdfDestructiveCropOptions, double value) #Sets PdfDestructiveCropOptions.Dpi: Rasterization DPI. Default: 144.
Parameters
- pdfDestructiveCropOptions OfficeIMO.Pdf.PdfDestructiveCropOptions
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfDestructiveCropOptions { Dpi = value }; pdfDestructiveCropOptions.Dpi(value);public static PdfDestructiveCropOptions MaxPixelsPerPage(PdfDestructiveCropOptions pdfDestructiveCropOptions, long value) #Sets PdfDestructiveCropOptions.MaxPixelsPerPage: Maximum pixels per destructively cropped page.
Parameters
- pdfDestructiveCropOptions OfficeIMO.Pdf.PdfDestructiveCropOptions
- The instance.
- value long
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfDestructiveCropOptions { MaxPixelsPerPage = value }; pdfDestructiveCropOptions.MaxPixelsPerPage(value);