Click or drag to resize

PdfImageContent Class

Represents a PDF content that is a rectangular array of sample values, each representing a color.
Inheritance Hierarchy
SystemObject
  SautinSoft.Pdf.ContentPdfContentElement
    SautinSoft.Pdf.ContentPdfVisualContentElement
      SautinSoft.Pdf.ContentPdfImageContent

Namespace: SautinSoft.Pdf.Content
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2025.6.5
Syntax
public sealed class PdfImageContent : PdfVisualContentElement

The PdfImageContent type exposes the following members.

Properties
 NameDescription
Public propertyBounds Gets the bounds of the PdfImageContent.
(Overrides PdfVisualContentElementBounds)
Public propertyElementType Gets the Image value.
(Overrides PdfContentElementElementType)
Public propertyImage

Gets or sets the image.

If IsInline is , the Image is made read-only. This is required to correctly detect content changes.

If IsInline is , use Clone method on the Image to get PdfImage that you want to edit and set the edited clone back to the Image property.

Public propertyIsInline

Gets or sets a value indicating whether the image content is inlined in the content stream.

If IsInline is , the Image is made read-only. This is required to correctly detect content changes.

Top
Methods
 NameDescription
Public methodSave(String) Saves the image content to a file with the specified path. Path must include file extension.
Public methodSave(Stream, ImageSaveOptions) Saves the image content in the specified stream.
Public methodSave(String, ImageSaveOptions) Saves the image content to a file with the specified path.
Top
See Also