[]
Represents an image in a C1PrintDocument. Can also be used to show an image of a System.Windows.Forms.Control.
public class RenderImage : RenderObject, IStyleOwner, IDocumentLocation
Name | Description |
---|---|
RenderImage() | Initializes a new instance of the RenderImage class. |
RenderImage(Image) | Initializes a new instance of the RenderImage class, assigning the Image property. |
RenderImage(Image, ImageAlign) | Initializes a new instance of the RenderImage class, assigning the Image property, and specifying a ImageAlign to use. |
RenderImage(Image, Style) | Initializes a new instance of the RenderImage class, assigning the Image property, and specifying a Style to use. |
RenderImage(string) | Initializes a new instance of the RenderImage class, assigning the ImageName property. |
RenderImage(string, ImageAlign) | Initializes a new instance of the RenderImage class, assigning the Image property, and specifying a ImageAlign to use. |
RenderImage(string, Style) | Initializes a new instance of the RenderImage class, assigning the Image property, and specifying a Style to use. |
Name | Description |
---|---|
Control | Gets or sets a Control object, an image of which is rendered by the current RenderImage object. |
Image | Gets or sets an Image that is rendered by the current RenderImage object. |
ImageName | Gets or sets the name of an image that is rendered by the current RenderImage object. When the current object renders, the actual image is retrieved by this name from the Dictionary of the containing C1PrintDocument. |
UseClassicDrawMethod | Gets or sets value indicating whether Graphics.DrawImage(Image, dstRect) method should be used to draw content of object instead of Graphics.DrawImage(Image, dstRect, srcRect, GraphicsUnit). In some rare cases it produces more convient results. Default is false. |
Name | Description |
---|---|
AssignFrom(RenderObject, bool, bool, bool, bool, bool, bool) | Assigns (copies) properties from another RenderObject to the current object.
Calls the base AssignFrom(RenderObject, bool, bool, bool, bool, bool, bool) method.
If |
CreateSame() | Creates new empty RenderImage object linked with same C1PrintDocument as current object. |