API Reference
Class
PdfPageAttributeEdit
An immutable page-attribute edit for an atomic, ordered batch.
Inheritance
- Object
- PdfPageAttributeEdit
Remarks
A null selection means every page. Edits never remove content from source streams.
Usage
Explore 7 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 5
Accepted by parameters 2
Methods
public static PdfPageAttributeEdit CropMargins(Double left, Double bottom, Double right, Double top, PdfPageSelection? selection = null) #Returns:
PdfPageAttributeEditCrops inward from the current displayed edges, using physical points (1/72 inch).
Parameters
- left System.Double
- bottom System.Double
- right System.Double
- top System.Double
- selection OfficeIMO.Pdf.PdfPageSelection? = null
public static PdfPageAttributeEdit ResetCrop(PdfPageSelection? selection = null) #Returns:
PdfPageAttributeEditRestores the visible crop to the current MediaBox without changing content.
Parameters
- selection OfficeIMO.Pdf.PdfPageSelection? = null
public static PdfPageAttributeEdit RotateBy(Int32 degrees, PdfPageSelection? selection = null) #Returns:
PdfPageAttributeEditTurns each selected page clockwise by a multiple of 90 degrees relative to its effective rotation.
Parameters
- degrees System.Int32
- selection OfficeIMO.Pdf.PdfPageSelection? = null
public static PdfPageAttributeEdit SetBox(PdfPageBoundaryBox box, Double left, Double bottom, Double right, Double top, PdfPageSelection? selection = null) #Returns:
PdfPageAttributeEditSets a boundary box in unrotated PDF user-space coordinates.
Parameters
- box OfficeIMO.Pdf.PdfPageBoundaryBox
- left System.Double
- bottom System.Double
- right System.Double
- top System.Double
- selection OfficeIMO.Pdf.PdfPageSelection? = null
public static PdfPageAttributeEdit SetRotation(Int32 degrees, PdfPageSelection? selection = null) #Returns:
PdfPageAttributeEditSets the absolute page rotation to a multiple of 90 degrees.
Parameters
- degrees System.Int32
- selection OfficeIMO.Pdf.PdfPageSelection? = null
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
Properties
public PdfPageSelection? Selection { get; } #Selected one-based pages, or null for every page.