Click or drag to resize

ImageObject Class

An image drawn on a page.
Inheritance Hierarchy
SystemObject
  ExpertPdf.Anywhere.PdfDocumentPageObject
    ExpertPdf.Anywhere.PdfDocumentImageObject

Namespace: ExpertPdf.Anywhere.PdfDocument
Assembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntax
public class ImageObject : PageObject

The ImageObject type exposes the following members.

Properties
 NameDescription
Public propertyBitsPerComponentGets the number of bits of each color 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 PageObject)
Public propertyFillColor Gets or sets the color the object is filled with. Reading it gives an RGB approximation; the empty color when it cannot be expressed in RGB (a pattern, a spot color). Setting it paints the object in RGB.
(Inherited from PageObject)
Public propertyIsInlineGets whether the image is written inside the page content (an inline image).
Public propertyKindGets the kind of the object.
(Inherited from PageObject)
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 PageObject)
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 PageObject)
Public propertyPageGets the page the object is drawn on.
(Inherited from PageObject)
Public propertyParentGets the group the object is drawn in, or null when it is drawn on the page directly.
(Inherited from PageObject)
Public propertyPixelHeightGets the height of the image, in pixels.
Public propertyPixelWidthGets the width of the image, in pixels.
Public propertyStrokeColorGets or sets the color the object is outlined with (see FillColor).
(Inherited from PageObject)
Top
Methods
 NameDescription
Public methodBringToFrontDraws the object over everything else in its group (or on the page).
(Inherited from PageObject)
Public methodDuplicateDraws a copy of the object just above it, moved by (dx, dy) points, and returns the copy.
(Inherited from PageObject)
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 PageObject)
Public methodRotateRotates the object about the center of its bounds.
(Inherited from PageObject)
Public methodScaleResizes the object about the top-left corner of its bounds.
(Inherited from PageObject)
Public methodSendToBackDraws the object under everything else in its group (or on the page).
(Inherited from PageObject)
Public methodToStringReturns the kind and bounds of the object.
(Inherited from PageObject)
Public methodTranslateMoves the object.
(Inherited from PageObject)
Top
See Also