Click or drag to resize
Pdf Library for .NET

PdfImageObject Class

An image drawn on a page.
Inheritance Hierarchy
SystemObject
  SelectPdf.UniversalPdfPageObject
    SelectPdf.UniversalPdfImageObject

Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.6
Syntax
public class PdfImageObject : PdfPageObject

The PdfImageObject type exposes the following members.

Properties
 NameDescription
Public propertyBitsPerComponentGets the number of bits of each colour component.
Public propertyBounds Gets the box the object covers on the page, in points from the top-left corner of the page as displayed.
(Inherited from PdfPageObject)
Public propertyFillColor Gets or sets the colour the object is filled with. Reading it gives an RGB approximation; the empty colour when it cannot be expressed in RGB (a pattern, a spot colour). Setting it paints the object in RGB.
(Inherited from PdfPageObject)
Public propertyIsInlineGets whether the image is written inside the page content (an inline image).
Public propertyKindGets the kind of the object.
(Inherited from PdfPageObject)
Public propertyLayer Gets or sets the layer the object is drawn in, or null when it is in none. Setting it moves the object into the layer; null takes it out of every layer.
(Inherited from PdfPageObject)
Public propertyOpacity Gets or sets the opacity of the object, from 0 (transparent) to 1 (opaque). Reading it gives the fill opacity; setting it sets the fill and the outline opacity.
(Inherited from PdfPageObject)
Public propertyPageGets the page the object is drawn on.
(Inherited from PdfPageObject)
Public propertyParentGets the group the object is drawn in, or null when it is drawn on the page directly.
(Inherited from PdfPageObject)
Public propertyPixelHeightGets the height of the image, in pixels.
Public propertyPixelWidthGets the width of the image, in pixels.
Public propertyStrokeColorGets or sets the colour the object is outlined with (see FillColor).
(Inherited from PdfPageObject)
Top
Methods
 NameDescription
Public methodBringToFrontDraws the object over everything else in its group (or on the page).
(Inherited from PdfPageObject)
Public methodDuplicateDraws a copy of the object just above it, moved by (dx, dy) points, and returns the copy.
(Inherited from PdfPageObject)
Public methodGetImageBytesGets the image as a PNG file.
Public methodRemoveRemoves the object from the page. A removed object can no longer be used.
(Inherited from PdfPageObject)
Public methodRotateRotates the object about the centre of its bounds.
(Inherited from PdfPageObject)
Public methodScaleResizes the object about the top-left corner of its bounds.
(Inherited from PdfPageObject)
Public methodSendToBackDraws the object under everything else in its group (or on the page).
(Inherited from PdfPageObject)
Public methodToStringReturns the kind and bounds of the object.
(Inherited from PdfPageObject)
Public methodTranslateMoves the object.
(Inherited from PdfPageObject)
Top
See Also