Image |
The ImageElement type exposes the following members.
| Name | Description | |
|---|---|---|
| ImageElement(Single, Single, Byte) | Creates an ImageElement from the bytes of an image file (PNG, JPEG, GIF, BMP, WebP or TIFF) that will be rendered at the position (x,y) with a width equal to the available space in page and the height auto determined to keep the aspect ratio. | |
| ImageElement(Single, Single, String) | Creates an ImageElement from the specified file that will be rendered at the position (x,y) with the width equal to available width in page and the height auto determined to keep the initial aspect ratio. | |
| ImageElement(Single, Single, Single, Byte) | Creates an ImageElement from the bytes of an image file (PNG, JPEG, GIF, BMP, WebP or TIFF) that will be rendered at the position (x,y) with the specified width destWidth and the height auto determined to keep the aspect ratio. | |
| ImageElement(Single, Single, Single, String) | Creates an ImageElement from the specified file that will be rendered at the position (x,y) with the specified width destWidth and the height auto determined to keep the initial aspect ratio. | |
| ImageElement(Single, Single, Single, Single, Byte) | Creates an ImageElement from the bytes of an image file (PNG, JPEG, GIF, BMP, WebP or TIFF) that will be rendered at the position (x,y) with the (destWidth,destHeight) size. | |
| ImageElement(Single, Single, Single, Single, String) | Creates an ImageElement from the specified file that will be rendered at the position (x,y) with the (destWidth,destHeight) size. |
| Name | Description | |
|---|---|---|
| ActualText |
Gets or sets the exact text this element stands for in a tagged document, when its content does not
spell it (text drawn as an image or with an unusual font, for example). The default value is null.
(Inherited from PageElement) | |
| AlternateText |
Gets or sets the alternate description of this element in a tagged document, read by assistive
technology instead of the content - the description of a figure, for example. PDF/UA requires it
for figures. The default value is null.
(Inherited from PageElement) | |
| Artifact |
Gets or sets whether this element is decorative in a tagged document: it is marked as an artifact
(a background, a rule, a running header) and left out of the logical structure. The default value
is false.
(Inherited from PageElement) | |
| BackColor |
Gets or sets the element background color.
(Inherited from PageGraphicElement) | |
| Blending |
Gets or sets the blending mode for the transparent rendering of the element.
(Inherited from PageGraphicElement) | |
| ColorSpace |
Gets or sets the color space the element colors are written in: RGB (the default), CMYK or
grayscale.
(Inherited from PageGraphicElement) | |
| DestHeight | Gets or sets the image destination height | |
| DestWidth | Gets or sets the image destination width | |
| ForeColor |
Gets or sets the element foreground color.
(Inherited from PageGraphicElement) | |
| Gradient |
Gets or sets the gradient used to fill a shape.
(Inherited from PageGraphicElement) | |
| ImageObj | Gets the underlying image object | |
| LineStyle |
Gets or sets the line style of the elements that render lines.
(Inherited from PageGraphicElement) | |
| Paginate | When true the element can be paginated | |
| RenderMultiFrame | Set this property to enable/disable multi-frame images rendering when necessary | |
| RenderTransparentImage | A flag indicating if the image alpha transparency information is used when the image is rendered in PDF. The default value is true. Set this property to true to use transparency information from the transparent PNG images and bitmap images with alpha channel when the image is rendered in PDF. | |
| Rotated |
Gets whether the element is rotated (Rotate was called with a non-zero angle).
(Inherited from PageGraphicElement) | |
| Scaled |
Gets whether the element is scaled (Scale was called with a factor other than 1).
(Inherited from PageGraphicElement) | |
| Skewed |
Gets whether the element is skewed (Skew was called with a non-zero angle).
(Inherited from PageGraphicElement) | |
| TagType |
Gets or sets the structure type of this element in a tagged document (a heading, a paragraph, a figure
and so on). Every element added to a tagged document must have a tag type or be an
Artifact. Ignored in a document that is not tagged. The default value is null.
(Inherited from PageElement) | |
| Translated |
Gets whether the element is translated (Translate was called with a non-zero offset).
(Inherited from PageGraphicElement) | |
| Transparency |
Gets or sets the element transparency, as a value between 0 and 100: 0 means completely
transparent and 100 completely opaque. The default value is 100.
(Inherited from PageGraphicElement) | |
| XLocation | Gets or sets the image location on X | |
| YLocation | Gets or sets the image location on Y |
| Name | Description | |
|---|---|---|
| Rotate |
Rotates the coordinate system axes clockwise by the specified angle before rendering the element.
The coordinates of the element are relative to the rotated coordinates system.
(Inherited from PageGraphicElement) | |
| Scale |
Scales the coordinates so that 1 unit in the horizontal and vertical dimensions of the new coordinate system
is the same size as sx and sy units, respectively, in the previous coordinate system.
(Inherited from PageGraphicElement) | |
| Skew |
Skews the x axis by an skewXAngle and the y axis by an skewYAngle
before rendering the element.
(Inherited from PageGraphicElement) | |
| Translate |
Translates the coordinate system before rendering the element.
The coordinates of the element are relative to the translated coordinate system.
(Inherited from PageGraphicElement) |