Class ImageItem
Implements
Inherited Members
Namespace: Reportman.Reporting
Assembly: Reportman.Reporting.dll
Syntax
public class ImageItem : PrintPosItem, IDisposable
Constructors
ImageItem()
Declaration
public ImageItem()
Properties
CopyMode
Declaration
public int CopyMode { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
DrawStyle
Declaration
public ImageDrawStyleType DrawStyle { get; set; }
Property Value
| Type | Description |
|---|---|
| ImageDrawStyleType |
Expression
Declaration
public string Expression { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Rotation
Declaration
public short Rotation { get; set; }
Property Value
| Type | Description |
|---|---|
| short |
SharedImage
Declaration
public SharedImageType SharedImage { get; set; }
Property Value
| Type | Description |
|---|---|
| SharedImageType |
Stream
Declaration
[Browsable(false)]
[JsonIgnore]
[JsonIgnore]
public MemoryStream Stream { get; }
Property Value
| Type | Description |
|---|---|
| MemoryStream |
StreamBase64
Declaration
public string StreamBase64 { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
dpires
Declaration
public int dpires { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
Dispose()
Disposes any memory used
Declaration
public override void Dispose()
Overrides
DoPrint(PrintOut, int, int, int, int, MetaFile, Point, ref bool)
This procedure will print the item into the MetaFile, internal implementation
Declaration
protected override void DoPrint(PrintOut adriver, int aposx, int aposy, int newwidth, int newheight, MetaFile metafile, Point MaxExtent, ref bool PartialPrint)
Parameters
| Type | Name | Description |
|---|---|---|
| PrintOut | adriver | Report processing driver |
| int | aposx | Horizontal position in twips |
| int | aposy | Vertical position in twips |
| int | newwidth | Width of the bounding box in twips |
| int | newheight | Height of the bounding box in twips |
| MetaFile | metafile | Destination MetaFile |
| Point | MaxExtent | Maximum extension |
| bool | PartialPrint | Returns true if some text will expand multiple pages |
Overrides
GetClassName()
Internal function to determine the object type name
Declaration
protected override string GetClassName()
Returns
| Type | Description |
|---|---|
| string | Object type name |
Overrides
GetExtension(PrintOut, Point, bool)
This procedure will return the current size of the printed item
Declaration
public override Point GetExtension(PrintOut adriver, Point MaxExtent, bool ForcePartial)
Parameters
| Type | Name | Description |
|---|---|---|
| PrintOut | adriver | Report processing driver |
| Point | MaxExtent | Maximum extension |
| bool | ForcePartial |
Returns
| Type | Description |
|---|---|
| Point |
Overrides
GetMemoryStream()
Declaration
public MemoryStream GetMemoryStream()
Returns
| Type | Description |
|---|---|
| MemoryStream |
GetStream()
Declaration
public MemoryStream GetStream()
Returns
| Type | Description |
|---|---|
| MemoryStream |
SubReportChanged(SubReportEvent, string)
This event is generated while report is processing to allow the report items to update contents
Declaration
public override void SubReportChanged(SubReportEvent newstate, string newgroup)
Parameters
| Type | Name | Description |
|---|---|---|
| SubReportEvent | newstate | New state for the subreport |
| string | newgroup | New group if apply |