PdfImageStyle
OfficeIMO.Pdf
Reusable image placement and rhythm style.
Inheritance
- object
- PdfImageStyle
Usage
Explore 11 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 4
- Property PdfCreateOptions.DefaultImageStyle
- Method PdfImageStyle.Clone
- Property PdfTableCellImage.Style
- Property PdfTheme.ImageStyle
Accepted by parameters 7
- Method PdfContentBuilder.AddImage
- Method PdfDocument.AddImage
- Constructor PdfHeaderFooterImage.PdfHeaderFooterImage
- Constructor PdfInlineImage.PdfInlineImage
- Method PdfPageBuilder.DefaultImageStyle
- Method PdfPageCanvas.Image
- Constructor PdfTableCellImage.PdfTableCellImage
Constructors
public PdfImageStyle() #Methods
Inherited Methods
Properties
public OfficeAlignment Align { get; set; } #Image alignment within the current content frame.
public OfficeImageFit Fit { get; set; } #How the image is fitted inside its target box.
public OfficeClipPath? ClipPath { get; set; } #Optional clipping path applied inside the image target box.
public PdfImageSourceCrop? SourceCrop { get; set; } #Optional source crop applied before fitting the image into the target box.
public OfficeLength SpacingBefore { get; set; } #Vertical space before the image in the surrounding document flow, in points.
public OfficeLength SpacingAfter { get; set; } #Vertical space after the image in the surrounding document flow, in points.
public bool KeepWithNext { get; set; } #Moves the image to the next page with the first visible part of the following block when they fit together.
public bool ScaleDownToFit { get; set; } #When true, oversized flow images are proportionally reduced to fit the current page or column frame.
public double RotationAngle { get; set; } #Clockwise image rotation angle in degrees.
public bool HorizontalFlip { get; set; } #Mirrors the cropped image horizontally about its destination frame center before rotation.
public bool VerticalFlip { get; set; } #Mirrors the cropped image vertically about its destination frame center before rotation.
public string? AltText { get; set; } #Optional alternate text for meaningful generated images.